Hi, I’m trying to run a service to turn on all light devices with a specific label. I’ve setup a script that looks like this:
alias: Turn The Mood ON
sequence:
- service: light.turn_on
metadata: {}
data: {}
target:
label_id: mood_light
description: Turn soft "mood" light on
icon: mdi:emoticon-outline
However this does not work. Conveniently the script UI can cleverly split the label to all of its devices and then it works, but that isn’t ideal as then every time I add a the label to a device I’ll have to update the script as well. Anyone seen this before?