I have a sensor in a Kegerator that I want to be notified when someone gets into while I am not home. I am able to get the notification to go off but I want to disable it when I am at home. When I add the condition below the log no longer shows the 9 or so other automation pieces I have setup and working.
condition:
condition: state
entity_id: device_tracker.johnny5
zone: not_home
It seems to work. I opened up the kegerator a few times yesterday when I was home without getting a notification. Now I’m waiting for someone in my family to open it up while I am at work to see if I get a notification.