How to slowly dim from color to white?

Hi.
I have made a wake-up like setup based on this post.
It works, but it ends in a kind of medium bright whiteish-blue.
This is properbly because it use yx colors. I am not able to make it bright white myself by clicking the color-chart in GUI, bit if I click somwhere in the color temperature scaler it becomes white and a lot brighter


however, how can i fade to this mode? I use deconz

I use an automation similar to the example on the Lights documentation page:

automation:
- id: one
  alias: Turn on light to preset colour
  trigger:
    - platform: state
      entity_id: light.light_name
      to: 'on'
  action:
    - service: light.turn_on
      data:
        entity_id: light.light_name
        brightness_pct: 100
        kelvin: 4000
        transition: 5

If you are using an Ikea Tradfri bulb, be aware you will need to set up two separate actions, one that sets the colour, then one that sets the brightness.

More info: