Hi,
I’m configuring my Hue remote to act on the lights in a room
all is ok, instead that there is no option “by default” to set the color.
I would like to reset the colors to specific values when I press a button…
I guess I have to edit with “YAML” the action but I don’t find what to put there…
any idea?
I guess you got the trigger part figured out already.
action:
- service: light.turn_on
data:
brightness: '254'
color_temp: 330
entity_id: light.sz_lightstrip_plus
transition: 10
you can go to developer-tools/state and look in the attributes what you can set
if I edit my Action who look like that:
device_id: 0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
domain: light
entity_id: light.hue_lightstrip_plus_1
type: toggle
and I transform it like that:
device_id: 0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
domain: light
entity_id: light.hue_lightstrip_plus_1
type: toggle
brightness: 254
color_temp: 330
transition: 10
I have that error message:Message malformed: extra keys not allowed @ data[‘brightness’]
I guess I’m missing a simple step there…