Hello everyone,
I'm experiencing issues with my automation:
alias: Disabilita rilevamento scala quando famiglia è in casa
description: ""
triggers:
- trigger: state
entity_id:
- group.famiglia
from:
- not_home
to:
- home
conditions: []
actions:
- if:
- condition: state
entity_id: switch.scala_detect
state:
- "on"
then:
- wait_for_trigger:
- trigger: state
entity_id:
- binary_sensor.videocitofono_portoncino_serratura_aperta
from: null
to:
- "on"
timeout:
hours: 0
minutes: 1
seconds: 30
milliseconds: 0
continue_on_timeout: false
- action: switch.turn_off
metadata: {}
target:
entity_id: switch.scala_detect
data: {}
- action: script.telegram_notifica_su_chat_lorenzo
metadata: {}
data:
titolo_field: Telecamera Scala
messaggio_field: Rilevamento disabilitato! (Rientro a casa + sblocco serratura)
mode: parallel
max: 10
Even if continue_on_timeout is setted to false, the script continue after the timeout.
In the last trace I can see that wait_for_trigger triggers the timeout:
But by the way the script has continued the execution after the timeout (09:11:06 + 1min 30sec = 09:12:36):
And also, the lock was not opened in the meantime, but afterward:
Why this?
Thanks!


