Hi,
I just receive my Nous light color and added to HA.
I try to add them to automation with color mode like :
- id: allumer_lumieres_salon_cinema
description: "Allumue les lumières du salon cinéma"
alias: Allume les lumières du salon cinéma
mode: single
trigger:
platform: event
event_type: xiaomi_aqara.click
event_data:
entity_id: binary_sensor.switch_XxX
click_type: double
condition: []
action:
- type: turn_on
device_id: XxX
entity_id: XxX
brightness_pct: 52
rgb_color: 0, 114, 255
xy_color_pct: 0.14, 0.119
domain: light
But on automation, I have this error :
Actions: extra keys not allowed @ data[‘rgb_color’]
Don’t understand how to select color wanted.
Thanks