Hi There,
I’m trying to get a wait template working without luck. Maybe someone would be sou kind to point out what I’m doing wrong.
- alias: Licht woonkamer aan bij thuiskomst na openen voordeur
trigger:
- platform: state
entity_id: sensor.glenn_status
from: 'Afwezig'
to: 'Net Aangekomen'
- platform: state
entity_id: sensor.ellen_status
from: 'Afwezig'
to: 'Net Aangekomen'
condition:
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition: state
entity_id: light.woonkamer
state: 'off'
action:
- wait_template: "{{ is_state('binary_sensor.front_door', 'on') }}"
timeout: '00:05:00'
continue_on_timeout: 'false'
- service: light.turn_on
entity_id: light.woonkamer
- service: notify.pushover
data_template:
message: Woonkamer verlichting aan