newbie here. Im having issues setting the color of my tuya bulb when it turns on.
Advise please?
my code:
alias: Power off
description: ""
trigger:
- type: value
platform: device
device_id: fa2c3369f209354f1aedeecea1ce2fd9
entity_id: sensor.grid_frequency
domain: sensor
below: 45
for:
hours: 0
minutes: 0
seconds: 5
condition: []
action:
- type: turn_on
device_id: 7f01d68750e3682dc091b09d748c5750
entity_id: light.lamp
domain: light
color_name: red
mode: single
Message malformed: extra keys not allowed @ data[‘color_name’]
I have also tried color_rbg [255,0,0]