@rs443 wrote:
As the default group.all_lights are no longer automatically maintained, you are supposed to use entity_id: all in service: light.turn_on/off. Pretty straightforward. But how do you call all the lights when using them in an automation?
I have an automation that triggers when all lights are off, like this:
- alias: Automation X trigger: - platform: state entity_id: group.all_lights to: 'off' for: minutes: 20
Is there an easy way to replace the group.all_lights here? Without manually create a group containing all lights.
Posts: 3
Participants: 3