I use the Hue brdige and have configuread all my rooms and lamps in it. HomeAssistant is connected to the bridge and shows all devices properly.
Now I am trying to create an automation which switches off all lights when sunrise happened. But there ist a single device which should stay on. What is the best way to do so?
As it is a little bit an effort to tell the automation configuration to switch off every single room- is there the possibility to switch off everything? How do I get this?
About the single light not to be powered off I can use another automation which switches it back on a couple of minutes later based on an offset.
But I need the wildcard entry for Hue. Currently it is for a single device as follows:
alias: Bei Sonnenaufgang Licht aus
description: ""
trigger:
- platform: sun
event: sunrise
offset: 0
condition: []
action:
- type: turn_off
device_id: 347026cac69854e20d28f8b6e9af0231
entity_id: light.eg_eingangsbereich
domain: light
mode: single