I have two automations, one turns off the lights, and the other turns them on.
This problem originated with the off version which stopped around 40% brightness just like the On version does, but the off version works fine now, so I copied it and tried reversing the settings to make the On version.
What could I do to fix the problem?
alias: Wakeup Gradual Lights On
description: ""
triggers:
- at: "02:30:00"
trigger: time
conditions:
- condition: state
entity_id: light.d23lp_light
state: "off"
actions:
- target:
entity_id: light.d23lp_light
data:
brightness_pct: 1
action: light.turn_on
- repeat:
until:
- condition: numeric_state
entity_id: light.d23lp_light
attribute: brightness
above: 99
sequence:
- target:
entity_id: light.d23lp_light
data:
brightness_step: 2
action: light.turn_on
- delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0
mode: single```