Setting CWWW on boot light temperature

Hi all, I’ve converted a couple of tunable globes to ESPHome. I like the ability to set it to turn on when the physical power is turned off and then on again. Problem is by default they come on in Cool White mode, whereas I’d like them to come on in Warm White mode. I can’t find out how to set this specifically, but have managed to find a bit of a work around by using restore mode only on the gpio output used for Warm White.
The only problem here is that doing it this way doesn’t report it to Home Assistant because it doesn’t have a name.

Does anyone have any suggestions?

output:
  - platform: esp8266_pwm
    id: output_warm_white
    pin: GPIO12
  - platform: esp8266_pwm
    id: output_cold_white
    pin: GPIO14

light:
  - platform: cwww
    name: "Mirabella Genio Smart Bulb"
    id: light_1
    cold_white: output_cold_white
    warm_white: output_warm_white
    cold_white_color_temperature: 6500 K
    warm_white_color_temperature: 2700 K
  - platform: binary
    id: led_warm_white
    # Ensure the light turns on by default if the physical switch is actuated.
    restore_mode: ALWAYS_ON
    output: output_warm_white

hmm maybe you can expose 2 lights? A cold and a warm one and control them idependently Something like:

- platform: cwww
  name: ${devicename}_warm
  id: ${devicename}_warm
  warm_white: output_warm_white
  cold_white: output_warm_white
  cold_white_color_temperature: 2700 K
  warm_white_color_temperature: 2700 K
- platform: cwww
  name: ${devicename}_cold
  id: ${devicename}_cold
  warm_white: output_cold_white
  cold_white: output_cold_white
  cold_white_color_temperature: 6500 K
  warm_white_color_temperature: 6500 K

then add a turn on boot thingy

  on_boot:
    priority: 100
    then:
      - light.turn_on:
          state: True
          id: ${devicename}_warm

Good idea, I’ll give it a try thanks!