Wait template problem

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

what’s wrong? the syntax looks correct.

I get an error when I check the config. I’ll post the error when I get home

Looks like nothing was wrong with the automation. I must have accidentally undone an edit in another automation, and that was what was giving the error.