I’ve spent time searching and reading HA docs and I still can’t figure out…
How do I create a Script to only turn on lights with a specific label?
I’ve spent time searching and reading HA docs and I still can’t figure out…
How do I create a Script to only turn on lights with a specific label?
Assign labels to the lights, then use the light.turn_on
service with the label as the target.
service: light.turn_on
data: {}
target:
label_id: special_lights
Thanks. So easy, but I could not find that.