@andreasm80 Is this of any use ?
I have a couple of LIFX Candle bulbs in 2 IKEA SYMFONISK lamps, and here’s the code from the actual automation to change between warm white (45% brightness), and cool white (100% brightness) in 7 seconds using the “power” button.
button_4_pressed:
- service: light.turn_on
data:
transition: 7
kelvin: 2700
brightness_pct: 45
target:
entity_id:
- light.lamp_l
- light.lamp_r
button_4_held:
- service: light.turn_on
data:
transition: 7
kelvin: 6500
brightness_pct: 100
target:
entity_id:
- light.lamp_l
- light.lamp_r