Trouble setting color_temp from an automation

I can set the color_temp manually. It also works fine from node red. But when I set the temperature through an automation, the automation just fails to do anything. If i remove the color_temp setting, it all works fine.

Nothing too complicated…

service: light.turn_on
data:
  brightness: 254
  color_name: white
  color_temp: 379
target:
  entity_id:
    - light.hallway_bulb1_level_light_color_on_off
    - light.hallway_bulb2_level_light_color_on_off`

I’m on the latest release:

  • Home Assistant 2022.9.6
  • Supervisor 2022.09.1
  • Operating System 9.0
  • Frontend 20220907.2 - latest

Maybe I’m doing something wrong? Bug? I’d appreciate it if anyone could provide some input!

I don’t think you can have both color name and color temp at the same time.
They can/will conflict.

Doh! I didn’t realize that color_temp took precedence over any color designation. I knew it had to be something simple. Thank you!!