For anyone running the PositionGuard custom integration, two fixes worth updating for.
Sensors going unavailable while the person hadn’t moved. A phone that’s sitting still, an iPhone especially, can go an hour or more without reporting. After about 50 minutes that turned the “outside usual area” sensor unavailable, and it came back on the next report, so it could flip several times a day for someone who was at home the whole time. PositionGuard now keeps reporting the saved area the person was last confirmed in, for up to 24 hours, and drops it on the first report from anywhere else. 0.3.3 adds a position_fresh attribute next to position_age_seconds, for automations that should only act on a recently confirmed position.
“Safe” / “Unsafe” labels. The sensor used the safety device class, so Home Assistant showed Safe / Unsafe. Being outside a usual area isn’t a safety call, so 0.3.4 shows Inside / Outside instead. Display only: the state is still on/off and existing automations are unchanged. If you selected the sensor by device_class: safety, select it by entity id instead.
Update through HACS. Release notes: PositionGuard integration releases on GitHub
If you still see a sensor flip to unavailable for someone who’s at a saved area, reply here with roughly when it happened. That’s the case this was meant to fix.
