Is it possible to turn on a group from the API? something like:
curl -X POST -H “Content-Type: application/json” -H “x-ha-access: xxx” -d ‘{“object_id”: “my_group”, “state”: “on”}’ http://localhost:8123/api/services/group/set
Is it possible to turn on a group from the API? something like:
curl -X POST -H “Content-Type: application/json” -H “x-ha-access: xxx” -d ‘{“object_id”: “my_group”, “state”: “on”}’ http://localhost:8123/api/services/group/set
I should also note that I tried this:
curl -X POST -H “Content-Type: application/json” -H “x-ha-access: xxxx” -d ‘{“state”: “on”}’ http://localhost:8123/api/states/group.my_group
and it seems to break hass (nothing loads until I restart).
Please, Does anyone have any ideas for me? I’m trying to turn on everything in a group from ifttt
That did it, Thanks!