It just doesn’t trigger. The automation works if I run it manually?
How come changing false to “off” would somehow trigger it? Just trying to understand
I shouldn’t have doubted you, it works, thank you!!
- id: "Turn on hallway lights when doors are opened one hour before sunset"
alias: "Turn on hallway lights when doors are opened one hour before sunset"
description: ""
trigger:
- platform: state
entity_id: binary_sensor.door_living_contact
attribute: contact
from: true
to: false
- platform: state
entity_id: lock.lock_frontdoor
attribute: lock_state
from: locked
to: unlocked
- platform: state
entity_id: binary_sensor.door_frontdoor_contact
attribute: contact
from: true
to: false
Follow-up question, these should be changed to "on"/"off" as well, in stead of true/false?