Automations with "zone" trigger don't work anymore
See original GitHub issueThe problem
I have two automations that are triggered when I leave the house and when I return. They have worked faultlessly for more than a year until April. Since the May update, however, the automations are only triggered sporadically - sometimes one of them, but usually none at all. I can’t find a cause for this - the person’s status is still recognised correctly and the absence times are correct.
How can I find out why the automations no longer trigger?
What is version of Home Assistant Core has the issue?
2021.6.3 (issue first seen in 2021.5.x)
What was the last working version of Home Assistant Core?
2021.4.x
What type of installation are you running?
Home Assistant OS
Integration causing the issue
zone
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zone/
Example YAML snippet
alias: Abwesend
description: ''
trigger:
- entity_id: person.jens
event: leave
platform: zone
zone: zone.home
condition:
- condition: state
entity_id: input_boolean.heating_mode_auto
state: 'on'
action:
- service: input_select.select_option
target:
entity_id: input_select.heating_mode
data:
option: abwesend/zeitgesteuert
mode: single
alias: Anwesend
description: ''
trigger:
- entity_id: person.jens
event: enter
platform: zone
zone: zone.home
condition:
- condition: state
entity_id: input_boolean.heating_mode_auto
state: 'on'
action:
- service: input_select.select_option
target:
entity_id: input_select.heating_mode
data:
option: anwesend/zeitgesteuert
mode: single
Anything in the logs that might be useful for us?
I don't think so
Additional information
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:36 (10 by maintainers)
Top Results From Across the Web
Zone Trigger for Automation not Triggering - Configuration
I've tried switching from person.xxxx to a device tracker but that didn't work either. My home zone is specified via yaml with a...
Read more >Troubleshoot common issues with triggers - Power Automate
Find and fix issues when your flows won't run.
Read more >Location based automations not working - am I missing ...
Hi, I'm trying to set location based automations, for example to trigger my robovac (connected via Homebridge) at 13:00 only when I am...
Read more >Location Away mode not triggering - SmartThings Community
Away is triggered by all location devices (phones) leaving the site, Home is simply triggered by a device coming home, night set based...
Read more >Automation Troubleshooting - Airtable Support
Two or more automations within the same base are conflicting with one another in a way that causes one automation to trigger another...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This one works:
resp.
So it’s clearly related to the “zone” integration trigger.
Sorry, I didn’t try a zone-based trigger again. I don’t think there’s any point in trying again and again unless a developer looks at it and at least gives some tips on which log files might be relevant.