Can I have multiple OR conditions in a ‘repeat while’ script?
I cannot get the config checker to like this, in fact the spinner continues spinning forever.
script:
my_script:
sequence:
- repeat:
while:
- condition:
condition: or
conditions:
- condition: state
entity_id: binary_sensor.some_sensor
state: 'on'
- condition: state
entity_id: input_boolean.some_boolean
state: 'on'
sequence:
- service: do.something
(It wouldn’t be the first time I have been caught out by the confusing OR condition syntax but I have checked and double checked this and I can’t see an error!)