#Webhook GET
1 messages · Page 1 of 1 (latest)
You might want to look at this for examples https://github.com/basnijholt/home-assistant-streamdeck-yaml
I don't see anything that refers to webhooks.
Sorry, I thought I remembered that twas how this was implemented.
I don't believe you can... but there is an API you can use to fetch states: https://developers.home-assistant.io/docs/api/rest/
I was able to figure this out while stumbling around.
Test using this curl cmd to get state info(the ABC... is a long-lived token):
-H 'Authorization: Bearer ABCDEFGH'
Use this to manipulate state:
curl -X POST https://your.awesome.home/api/services/light/turn_off -H "Authorization: Bearer ABCDEFGH" -H "Content-Type: application/json" -d '{"entity_id": "light.desk_light"}'