Scene to switch from color to white

Hi,

I have some scenes to control my lights.My lights have a “color” mode and a “white” mode. How can I switch between modi?

I already tried:

# ===============================================
# SCENES
# ===============================================

# color_temp: values in the range from
# 154 (cold white)
# 500 (wharm white)
# as defined in homeassistant/util/color.py as HASS_COLOR_MIN and HASS_COLOR_MAX

scene:

# -------------------------------------------
  - name: light_n00_p03_dampkap_scene_01
    entities:
      light.group_n00_p03_dampkap:
        state: on
        brightness_pct: 100
        color_temp: 154 # cold white
        transition: 0.5
        effect: white_mode
        color_name: white

# -------------------------------------------
  - name: light_n00_p03_dampkap_scene_02
    entities:
      light.group_n00_p03_dampkap:
        state: on
        brightness_pct: 50
        color_temp: 350
        transition: 0.5
        effect: white_mode
        color_name: white

# -------------------------------------------
  - name: light_n00_p03_dampkap_scene_03
    entities:
      light.group_n00_p03_dampkap:
        state: on
        brightness_pct: 1
        color_temp: 450
        transition: 0.5
        effect: white_mode
        color_name: white

but effect: white_mode or color_name: white does not seems to work…

any help is appreciated
kind regards,

Bart

I can conform that effect doesn’t work in scenes (maybe a bug; I didn’t search on Github, yet).

However, the service works, tested with a Hue bulb:


service: light.turn_on
data:
  effect: prism
target:
  entity_id: light.kugellampe_lang

As a workaround, you could use a script instead of a scene.

EDIT: Hue Effects not saving in Scenes · Issue #85731 · home-assistant/core · GitHub