Did you execute the action manually? Every person has an entity_id. The only trigger entities which are allowed are persons. If you want to test your automation you can change the state in the developer options of the observed persons.
I have an issue with this as well. If I manually change the state of the person entity from zone to zone, it works as intended, but it breaks if there is a ānot_homeā state in-between. For example, I get this error when traveling from ānot_homeā to āhomeā:
UndefinedError: āNoneā has no attribute āattributesā
I found one other quirk. The blueprint doesnāt recognize zones with friendly names that have spaces.
For example:
Zone: example_zone_one
Friendly Name: Example Zone One
The blueprint ignores this zone and no actions occur. If I manually set the person entity to āexample_zone_oneā it works, but that is not how HA handles it, apparently.
TL;DR is that the blueprint only recognizes single-word zones.
Still, this is soooo much better than making dozens of automations. Great work!
Thank you very much for your testing ambitions. I wish I could provide more stable code based on unit tests.
The zone handling in person entities especially the home zone is a little bit inconsistent. Iāve updated the blueprint again. Hopefully it works now as expected. Feel free to give feedback again.
Hello Panhans,
very cool blueprint!! May I make a suggestion? The GPS on my wifeās mobile gets very erratic and enters and leaves āthe Zoneā very often, even though the phone has not moved. At night this is really a pain, as the sleep tracker on her wrist keeps vibrating. So I previously used a time window from 06-22 hours for notification. Is it possible to implement that with your blueprint?
Thanks again for your work,
Robert from Mannheim, Germany
There seems to be a bug in the blueprint. Sylvia is no where close to IdAW 104, so she could not actually be entering it. Sorry for the terrible picture, canāt take a screen shot of the message screen on my S23.
The blueprint is just based on the state of person entities. If the state changes a notification will be fired. I just use that blueprint for geo locations.
Your history shows Sylvia entered ldAW 104. So a notification will be fired if you configured your automation for that location. But if she never entered that location your integration that sets the state for her is fooling you.
Cool, now if I could only figure out, how the āgroupā thingy would work here. I want to notify my wifeās and my device. New to this stuff and just can not figure it out.