So, I have an automation that used to work, but recently stopped executing with an odd error and the trace is showing a variable that’s not in my automation. Here is what I see on a trace:
This is what the automation looks like in automations.yaml:
- id: '1621746181268'
alias: Bedtime - Trip
description: Turn on Trip's Projector and Air Cleaner at Bedtime once there is motion
trigger:
- platform: time
at: '19:00:00'
condition:
- condition: state
entity_id: input_boolean.vacation_mode
state: 'off'
action:
- wait_for_trigger:
- platform: state
entity_id: binary_sensor.zha_trip_room_motion
to: 'on'
continue_on_timeout: false
- service: scene.turn_on
target:
entity_id: scene.trip_bedtime
mode: single
I think the error is on the empty “timeout” variable, but I don’t have that variable in my automation.