Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- terminal:
- /home/homeassistant/.homeassistant/script/./fuel.info.sh -f “184685”
- já aparece no homeassistante os preços do combustivel! ou se eu correr no terminal:
- curl -s -X POST -H 'x-ha-access: ’ -H ‘Content-Type: application/json’ -d ‘{“state”: “1.299”, “attributes”: {“unit_of_measurement”: “€”, “icon”: “mdi:gas-station”, “friendly_name”:“Gasoleo simples (JUMBO TORRES VEDRAS)”}}’ https://*****.duckdns.org/api/states/sensor.fuel_184685_Gasoleo_simples
- também já publica no home assistant
Advertisement
Add Comment
Please, Sign In to add comment