📢 Improvements
-
Configure > Authenticate Apple Account Sign-in_ screen - Addresses the changes Apple has made account authentication and how authentication codes are delivered. The following changes have been made to address these issues:
- IPv6 vs IPv4 - Apple supports IPv6 requests for signing into the Apple Account and refreshing a devices location. The Apple servers that handle authentication respond to IPv4 requests only. iCloud3 sends authentication requests via IPv4, all others use IPv4 or IPv6.
- Code via Text Message - You can now get the authentication code via a text message if the normal Push Notification is not be issued by Apple.
- Manual Code Generation - Instructions for generating the authentication code have been added if Apple does not send a code using the text message or Push Notification.
- Only Apple accounts that are logged into are displayed on the Account Selection list.
- The Log into the Apple account Action has been removed. This has to be done on the Update Apple Account screen.
-
Starting/Restarting iCloud3 - Reduced the time it takes to Start and Restart iCloud3.
-
HA Device/Sensor::iCloud3 Device/Sensor conflicts - iCloud3 manages the device and sensor entities on the Device and Sensor screens. Disabling a device or sensor on the HA Settings screens creates a conflict with iCloud3 because it does not know they were disabled and tries to recreate them on the next restart. It is very difficult to resolve this conflict since HA stores the disabled information in it's device and entity registries.
iCloud3 now detects when a device or sensor is disabled on the HA Settings. It now sets the device to an 'Inactive' status and adds a sensor to the 'Excluded Sensors' list on the Configure screens. The disabled device and sensor is also removed from the HA registry files so they can not be reenabled on the HA settings screens. Enabling them is now done on the iCloud3 Configure Device and Sensor screens. The new Cleanup HA Entity Registry screen detects the disabled entities and includes tools to delete them.
-
Added the Configure > Tools > Cleanup HA Entity Registry screen - This screen scans the HA Entity and Device registries and displays iCloud3 entities in following the categories:
- Active - Devices being tracked or monitored
- Inactive - Devices that are set to
Inactiveand not tracked by iCloud3 - Orphaned - Sensors that once existed but are no longer associated with the iCloud3 Integration
- Disabled - Devices & Sensors that have been disabled on the HA Devices, Entity or iCloud3 Integration screen
- Suffix Errors - Sensors that have been duplicated by HA and are now unavailable
- Deleted Devices - Sensors that were used by a device that has been deleted from iCloud3
- Deleted Sensors - Sensors that belong to an iCloud3 device that are no longer used
The Devices and Sensors in the non-Active categories can be removed from the Registry files. Those that are Active are removed and then recreated.
Removing all traces of a device or sensor from the HA Registries can solve various problems, including:
- Devices and sensors with duplicate entities not being created
- Sensors not being creating because they have been disabled in HA but Active in iCloud3
- Unused sensors are preventing new sensors with the same name for a new device not being created
-
Added the Configure Tools > Reload iCloud3, Restart HA screen - iCloud can now be reloaded to reinitialize all settings without resting HA. This does not load a new code release, it only restarts the code that has already been loaded.
-
Number of iCloud3 devices - The 10-device limit for the number of iCloud3 devices that can be tracked and monitored has been removed.
🐞 Bug Fixes
- Fixed a bug preventing iCloud3 from loading in rare cases.
- Fixed a bug where no sensors would be created if there were several track_from_zone sensors that started with the same name (home, home2, home3).
- Fixed a bug preventing the iCloud3 Alerts sensor showing an Apple account needed to be authenticating from being cleared after the authentication was completed.
- Various minor bugs have been fixed.
- Other internal organization items.