Hi, I am new to Home Assistant coming from the Wink 2 Hub and I have been struggling to get any automation to trigger based on when I enter or leave my Home Zone. I have searched the community and I have yet to find an answer. I have 3-4 automation and none of them ever trigger when entering or leaving my home. I have included one below:
alias: Open Garage Door when I arrive
description: ''
trigger:
- platform: zone
entity_id: device_tracker.sm_n986u
zone: zone.home
event: enter
condition: []
action:
- device_id:
domain: cover
entity_id: cover.garage_door
type: open
- service: notify.mobile_app_sm_n986u
data:
message: 'Arriving home, Garage Door has been opened'
title: Garage Door Automation
mode: single
Any assistance that can be provided will be greatly appreciated.
Hi exxamalte, it does include a device ID I just remove it when I pasted it. When I look at the execution history for the automation it says it never run except for the time that I run it manually. When I look at the logs it is reflecting when I enter and leave the home zone but it never triggers the automation. Thanks
Hi Craig, Isn’t the home zone automatically setup for you on initial configuration? I do see it setup but don’t have a way to look at the coordinates, I must be missing something…
Something is wrong with your home zone. It should show as a orange (possibly theme depending) circle with a House icon in the middle. If you zoom right out on your map, do you are this anywhere else? I’m guessing not?
The strange thing is if I look at the devicetracker for the same device through my Asus router integration it saying the device is at home since its connected to Wifi.
That would make sense if your home zone isn’t set up correctly as its meaning it’s home as connected to a certain device, rather than based on its location.
I don’t see this in the map, how can I fix it… It doesnt show the house anywhere in the map. Only when I click on the home zone. I will take a look at the documentation.