#How to use Groups (living room, bath...) as trigger for automations

1 messages · Page 1 of 1 (latest)

zealous pagoda
#

Hello,

I want to make a Automation for example when a light in group "living_room" turns on then turn on a plug.

But I can not figure out how to use Groups as trigger.
In my two Screenshots you can see what I already tried but it dosent work. Can somebody please tell me how I can get it to work or if it works in general?

rugged goblet
#

A light group is also an entity to itself, so you can trigger/control on that.
You could also give the lights a common label and use that as a control entity and it would span the light group and the plug for control.

zealous pagoda
#

If I understand that right you mean give all the Lights a Label?

I tried this but when I look in the Automation under entity the Label is not there, and also the group is not there

young orbit
#

You can check that entity in devtools ->States

#

Should work fine based on your description

zealous pagoda
#

so I should see the group or the laben in States?

rugged goblet
#

Group, yes

zealous pagoda
young orbit
#

You chose it in the screenshot

zealous pagoda
#

I typed it in manually, i did not choose it from the drop down menu

#

Ah well I see my mistake now, I said Group but I meant Areas sorry!

#

In my mind swapped areas with groups, sorry, I think I can solve the problem myself

rugged goblet
#

👌

#

Well don't miss that if you put the lights and the switch with the same label, you can just tell the label to turn on anf off. Might simplify things...