mathieson
(Samuel Mathieson)
1
Hello,
I would like to group switches together but be able to activate them, as a switch, through the API, is this possible?
For example:
group:
onetwo:
- switch.one
- switch.two
then in the API run
http://myserver/api/switch/turn_on …
and then try to turn on switch.onetwo
Is this possible?
Been trying to figure it out.
mathieson
(Samuel Mathieson)
2
Sorry, forgot to mention, the combined switch should be hidden, I just expose the individual switches in the front end.
hijinx
(James)
3
You can use homeassistant/turn_on to turn on a group.
E.g. a group of switches and lights.