Unable to control light colors with scenes - once commanded white, colors stop working

I have some new color lights (Lumary Smart Disk Light B1), linked via Tuya. They show up in the Dashboard, and I can click the icons, and select Color and set the color, and this works great. I can also put the lights in scenes, an so long as all scenes specify colors, they work fine too. However, if I use the dashboard button and set the light to a color temperature (white), or have a scene which does the same, the color scenes no longer work - they leave the light in color temperature mode (white).

Also, when I then use the scene editor, all the colors I have configured are converted to white. If I save the scene, the color settings are lost. (I think this is because the scene editor starts by commanding the devices to the current scene values, then retrieving current state. Since the commands to use color don’t work, the state returned is now color temperature.)

If I leave the scenes intact, I can go to the dashboard, use the button and manually set the light to a color. Then the color scenes will work fine, until something commands the light to a color temperature again.

I also tried creating a script to command the light to a color, and using that in my automations before the scene. But the script also doesn’t seem to be able to get the light out of color temperature mode.

To test this out, I made three scenes: White, Red and Green, each just for the same light. I can change between Red and Green as much as I want, and it works fine. But as soon as I command to White, it won’t change to Red or Green anymore. But If I use the Dashboard button, I can change it to a color, and then Red and Green resume working.

This is from my scenes.yaml:

- id: '1670563097431'
  name: Red
  entities:
    light.lumary_smart_disk_light_b1_4:
      min_color_temp_kelvin: 2000
      max_color_temp_kelvin: 6535
      min_mireds: 153
      max_mireds: 500
      supported_color_modes:
      - brightness
      - color_temp
      - hs
      color_mode: hs
      brightness: 43
      hs_color:
      - 330
      - 100
      rgb_color:
      - 255
      - 0
      - 127
      xy_color:
      - 0.581
      - 0.245
      friendly_name: Mikey
      supported_features: 0
      state: 'on'
  metadata: {}
- id: '1670563139957'
  name: Green
  entities:
    light.lumary_smart_disk_light_b1_4:
      min_color_temp_kelvin: 2000
      max_color_temp_kelvin: 6535
      min_mireds: 153
      max_mireds: 500
      supported_color_modes:
      - brightness
      - color_temp
      - hs
      color_mode: hs
      brightness: 43
      hs_color:
      - 135
      - 100
      rgb_color:
      - 0
      - 255
      - 63
      xy_color:
      - 0.17
      - 0.703
      friendly_name: Mikey
      supported_features: 0
      state: 'on'
  metadata: {}
- id: '1670563163556'
  name: White
  entities:
    light.lumary_smart_disk_light_b1_4:
      min_color_temp_kelvin: 2000
      max_color_temp_kelvin: 6535
      min_mireds: 153
      max_mireds: 500
      supported_color_modes:
      - brightness
      - color_temp
      - hs
      color_mode: color_temp
      brightness: 43
      hs_color:
      - 26.895
      - 37.733
      rgb_color:
      - 255
      - 201
      - 158
      xy_color:
      - 0.431
      - 0.367
      friendly_name: Mikey
      supported_features: 0
      color_temp_kelvin: 3846
      color_temp: 260
      state: 'on'
  metadata: {}

It turns out the script can get the light back into color mode. I had to put in a 250ms delay to get this to work.

I decided for now to change all my color scenes to scripts, and it’s working correctly this way.

Hi Rick,

I think I’m having the same problem that you had. I have 6 WiFi GU10s in my kids’ room and have promised then some funky light options using a scene switch. I set the lights to the colours they want, but whenever I save (or activate) the scenes the lights all turn to white. Would you mind explaining in a little more detail how you resolved this with scripts please?

Many thanks,
Sam

I have a similar issue. I’ve got a tuya ledstrip which automatically changes color based on scenes. After setting it up, it all worked fine until I manually changed the color in the device’s settings. Ever since my scenes no longer work: all scenes now have the color I set manually. No matter how many times I change the color settings in the scenes and save it, the “new” color simply won’t save in the scene. I’ve even tried removing all the scenes and created new ones… it just doesn’t work. Only way to get it working is to remove the device, re add the device, create new scenes and never ever manually change the color.

I’m getting this two, though I can control it using color_temp in mireds, but not color_temp_kelvin. This is a fine work around for now i guess, but it does say that mireds is deprecated