My freezer door got left open and I lost most of it. Decided it was time to use a sensor to make sure the door didn’t get left open. I’m using a wyzesense sensor. It’s working great. I can’t seem to get the trigger on the automation to work. Probably something simple. I just can’t seem to figure it out. Any ideas?
- alias: Freezer door still open
trigger:
platform: state
entity_id: binary_sensor.wyzesense_77997ecd
from: 'closed'
to: 'open'
for:
minutes: 2
action:
service: notify.events
data:
message: 'Freezer door is open!'
data:
level: 'warning'
priority: 'high'