Automation turn group of lights off if no motion

I’m sure this is straightforward but I am struggling to find a way to do this. Through Automation I’d like to group a bunch of lights and switches. In this scenario they may have been left on in a room/rooms downstairs, there is no activity downstairs (everyone gone to bed) so turn off at X time.
It seems if I put the lights/switches into a group once I turn one on they all turn on, etc and this is not what I want. I simple want them to react only in that given scenario. Thanks

No it doesn’t you can still switch them on/off individually. Just use the group entity to switch them off all at once.

1 Like

Great thanks. I obviously misinterpreted that. Appreciate help.

Thank you that worked exactly as I wanted. In my head I didn’t appreciate it created one entity that effectively controls all those associated to it.