#Use group as action?

1 messages · Page 1 of 1 (latest)

lucid cypress
#

How to use the groups a action? e.g toggle all lights in a group as a single action for a certain trigger?

hasty thistle
#

homeassistant.toggle service (or .on or .off) with the group as the target

fiery haven
#

If it's a light group created in the GUI, you can just use light.toggle or light.turn_on

#

It won't be a device, so you can't use device actions