Transition not working in Automations

Hi - I’m wondering if anyone can help.

I have created a simple automation to turn on my besdide lamp on at a specific time in the morning & I have added a transition period for it to do this. When I test the automation by clickig ‘execute’ it works perfectly fine, but when I leave it to automatically trigger, the lamp switches on at very low level but the transition to full brightness doesnt happen ?

I’m confused why this works when I manually trigger it, but not when automated ?

YAML (formatting has changed in this post ?) - (fixed)

  trigger:
  - platform: time
    at: '7:20'
  condition:
  - condition: time
    weekday:
    - mon
    - tue
    - wed
    - thu
    - fri
  action:
  - service: light.turn_on
    entity_id: light.color_temperature_light_4
    data:
      brightness: 255
      transition: 900

Thanks in advance.

Read this, especially point 11.

1 Like

I think you must place this line,

mode: queued

at the end of yalm, for create a loop.