I've made this script where I expect to be warned once a port has been opened for 5 minutes. Then it should repeat every 10 minut until I've closed them.
Trace shows: Stopped because only a single execution is allowed at <time>
Running it from the repeat actions gives me a notification but not every 10 minutes.
Any idea on why this is not as stable as I hoped? I guess I have missed something .
alias: Garage not closed warning
description: ""
trigger:
- platform: state
entity_id:
- cover.left_garageport
- cover.right_garageport
to: open
for:
hours: 0
minutes: 15
seconds: 0
condition: []
action:
- repeat:
sequence:
- action: script.notify_about_garage_door_status
data: {}
- delay:
hours: 0
minutes: 10
seconds: 0
milliseconds: 0
until:
- condition: state
entity_id: cover.left_garageport
state: closed
- condition: state
entity_id: cover.right_garageport
state: closed
mode: single