iCloud3 v3 - iCloud3 is an advanced iDevice tracker that uses Apple iCloud account and HA Companion App data for presence detection and location based automations.
MIT License
585
stars
53
forks
source link
new error: overlapping stationary zones when coming home? #386
After updating to 3.1 (which runs smooth for me) I noticed a new error when returning home into my Home Zone coming from the ic3_stationary_zone which was ~500m away:
Logger: custom_components.icloud3
Quelle: custom_components/icloud3/support/zone_handler.py:318
Integration: iCloud3 v3 (Dokumentation, Probleme)
Erstmals aufgetreten: 4. November 2024 um 23:15:55 (1 Vorkommnisse)
Zuletzt protokolliert: 4. November 2024 um 23:15:55
'ic3_stationary_1'
Traceback (most recent call last):
File "/config/custom_components/icloud3/support/zone_handler.py", line 318, in is_same_or_overlapping_zone
Zone1 = Gb.Zones_by_zone[zone1]
~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'ic3_stationary_1'
Never saw this issue before, could it be related to 3.1?
That is in the routine that determines if 2 zones overlap. In this case, the stationary zone (zone1)_ does not exist so it does not overlap. I added a check for that so you don't get an unneeded error message.
After updating to 3.1 (which runs smooth for me) I noticed a new error when returning home into my Home Zone coming from the
ic3_stationary_zone
which was ~500m away:Never saw this issue before, could it be related to 3.1?
The full log of the affected time window: