I’ve got 3 bulbs outside, Costco Feit RGB, I’ve set them up in tuya/smartlife. I’ve got the tuya integration in HA. if I click the switch for the bulb in HA, it comes on white…
I found an automation to turn them on a sunset and off at sunrise, this automation, even though I tell it to set the bulb to white doesn’t work. garage left turns on green, right turns on blue and my porch on is green… if I go the HA and look at the bulb state they all show RGB of 255,255,255 and the bulb shows white in the UI. If I click the bulb and change the color to predefined white, it changes to white.
Is the automation broken? I don’t understand what I’m doing wrong. Here’s the automation
alias: Outside Lights ON_OFF
description: ""
trigger:
- platform: sun
event: sunset
offset: "-00:15:00"
id: ontime
- platform: sun
event: sunrise
id: offtime
condition: []
action:
- choose:
- conditions:
- condition: trigger
id:
- ontime
sequence:
- service: light.turn_on
metadata: {}
data:
rgb_color:
- 255
- 255
- 255
target:
area_id:
- garage_outside
- front_porch
- conditions:
- condition: trigger
id:
- offtime
sequence:
- service: light.turn_off
target:
area_id:
- garage_outside
- front_porch
data: {}