Trying to copy the “Dim lights THE RIGHT WAY” tutorial, and I have a problem with the loop never ending. Can anyone spot what’s wrong here?
alias: seqrepeattest
description: seqrepeattest
trigger:
- platform: device
domain: mqtt
device_id: d7be3cdd4627110879ece4b209dcabf0
type: action
subtype: dial_rotate_left_step
discovery_id: 0x001788010d12e163 action_dial_rotate_left_step
id: leftstep
condition:
- condition: trigger
id: leftstep
action:
- repeat:
while:
- condition: trigger
id: leftstep
sequence:
- service: light.turn_on
data:
brightness_step_pct: -5
target:
entity_id: light.ljosakrona
- delay:
milliseconds: 200
mode: restart