Hello All,
I have 6 dining lights grouped under light.dining_room. These are Tuya RGBCCT lights.
I have been able to successfully pair them to turn on and off with the click of a button.
Issue is: I want to have them switch on to white color only (if they were previously turned off in any other color). I am using the below and when I remove the commented code for brightness and color I get an error as I guess ‘Automation’ does not support it Any other pointers on how to acheive this?
# FLIC Automation for dining lights
automation:
- alias: Turn on lights in the living room when flic is pressed once
trigger:
platform: event
event_type: flic_click
event_data:
button_name: flic_80e4da77a5aa
click_type: single
action:
service: light.toggle
entity_id:
- light.dining_room
# brightness: 250
# rgb_color: [255,0,0]