icloud3 icon indicating copy to clipboard operation
icloud3 copied to clipboard

AttributeError: 'NoneType' object has no attribute 'loop'`

Open Spencer8742 opened this issue 4 months ago • 3 comments

There is a loop that seems to be preventing the service from starting.

08-06 14:30:10 iCloud3 v3.2.3 Traceback (most recent call last): File "/config/custom_components/icloud3/icloud3_main.py", line 957, in process_updated_location_data Device.write_ha_device_tracker_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/config/custom_components/icloud3/device.py", line 1608, in write_ha_device_tracker_state self.DeviceTracker.write_ha_device_tracker_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/config/custom_components/icloud3/device_tracker.py", line 654, in write_ha_device_tracker_state self.schedule_update_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1245, in schedule_update_ha_state self.hass.loop.call_soon_threadsafe( ^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'loop'

Image

Spencer8742 avatar Aug 06 '25 18:08 Spencer8742

I have the same issue.

ctankep23 avatar Sep 01 '25 12:09 ctankep23

Update to v3.2.4.1 on the iCloud3 Developers GitHub repository. See here for more info.

gcobb321 avatar Sep 01 '25 23:09 gcobb321

that did the trick for me! back up and running

Spencer8742 avatar Sep 02 '25 00:09 Spencer8742