I have these really weird Energizer bulbs that are being controlled with Tuya Local that are either “white” or rbg, no temperature. It has to be exactly HS(0,0) / RGB(255,255,255) to be “white”, else it will be very dim and have a colored tinge.
Using the Dev Tools this is the state I’m aiming for:
supported_color_modes:
- hs
color_mode: hs
brightness: 255
hs_color:
- 0
- 0
rgb_color:
- 255
- 255
- 255
xy_color:
- 0.323
- 0.329
Here’s my light_profiles.csv
id,x,y,brightness,transition
light.basement_freezer.default,0.323,0.329,255,
After a reboot when I toggle the light off and on, the color is blueish and the state is: (the x is “off”)
supported_color_modes:
- hs
color_mode: hs
brightness: 255
hs_color:
- 0
- 0.4
rgb_color:
- 255
- 253
- 253
xy_color:
- 0.325
- 0.329
I have validated that light_profiles are working by placing different numbers, and it does change. My most recent test was 0.250 for both values, x was good at 0.25 but y was 0.251
Any ideas?- some sort of rounding error with hs? Am I cursed to write an automation to automatically change the color when the light turns on?