So, my home assistant crashed about a weekk ago. SD card is broken, so i bought a new one and installed Home Assistant on my Pi (3B+).
I installed the deconz add-on and integration, all worked well. I have linked all my lights, switches and sensors, they do work.
Yet, my automations don’t trigger. When I execute the automation manually, it works, but automatically, it doesn’t… What is wrong here in my automation? Is the trigger wrong?
- id: '1600893813321'
alias: Gangkast dicht
description: ''
trigger:
- platform: state
entity_id: binary_sensor.trapkast_sensor
to: Closed
condition: []
action:
- service: light.turn_off
entity_id: light.gangkast
mode: single
max: 10
Don’t know if it matters with yaml, but use lower case for Closed. I don’t have any devices that uses the state Closed. Shouldn’t be in the present tense close?