[Solved] 0.46 lights color

The scenes I used so far are not working since update to 0.46

As I understand it, a breaking change in 0.46 is that the light color can no longer be simulteanously xy_color and rgb_color, which seems logical. However, I do not have anything like that. My scenes are defined as for instance

- name: Regular
  entities:
    light.plafonnier:
      state: on
      rgb_color: [102, 102, 102]
      brightness: 110
      color_temp: 312.5
      transition: 3

however, it get the following message when I try to activate it

[homeassistant.core] Invalid service data for light.turn_on: two or more values in the same group of exclusion 'Color descriptors' @ data[<Color descriptors>]. Got None

can someone explain to me the mistake I made ?

1 Like

Solved it, sorry for the inconvenience

The problem is that you can not used either rgb_color in the same time as color_temp . Can some one indicate it more clearly perhaps in the description ?

It was clearly mentioned in the release notes:

Disallow ambiguous color descriptors in the light.turn_on schema. This means that you can no longer specify both xy_color and rgb_color. (@amelchio - #7765) (breaking change)

Yeah, so there is nothing about color_temp

2 Likes

Thanks for this!

1 Like

@lambtho Thanks for posting the exact error message and the solution, my scenes are up and running again :slight_smile:

@Bob_NL color_temp was not mentioned in the release notes :wink:

1 Like

Hi Bob,

Thank you for this information. But how do I disabled this? I cannot change my template in Yaml, and when I switch to Edit Automation I get my GUI back.

Thank you in advance for your answer (ben trouwens ook Nederlands).

Best regards,

Hans

Deselect color temp or color. You can’t have both even though the UI allows it.
image