Cannot login after ios app re-install

Trying to solve a problem with HA Cloud, I uninstalled the Homeassistant App on my iPhone.
The HA Cloud & remove issue is now resolved.

The reinstall iOS App askes me to authenticate (username / password).
Then the 2FA token, after which the following error is displayed.

The HA Logs give the following exception…

2022-01-09 13:52:33 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/person/", line 214, in _entity
    await self.async_update_item(
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/", line 265, in async_update_it
    await self.notify_changes(
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/", line 141, in notify_changes
    await asyncio.gather(
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/", line 370, in _collection_cha
    for entity in await asyncio.gather(
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/", line 350, in _update_entity
    await entities[change_set.item_id].async_update_config(change_set.item)  # type: ignore
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/person/", line 450, in async_u
    self._unsub_track_device = async_track_state_change_event(
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/", line 250, in async_track_state_ch
    entity_callbacks =, {})
AttributeError: 'NoneType' object has no attribute 'data'

The log files from the app, show data for the sensors being passed to HA, getting respones, then…

2022-01-09 13:56:28.566 [Info] [main] [HAAPI.swift:733] registerSensors() > finished registering sensors: fulfilled([(), (), (), (), (), (), (), (), (), ()])
2022-01-09 13:56:28.566 [Info] [main] [OnboardingAuth.swift:70] perform(checkPoint:checks:) > OnboardingAuthStepSensors: fulfilled()
2022-01-09 13:56:29.061 [Info] [main] [Bonjour.swift:34] stop() > 
2022-01-09 13:56:36.106 [Info] [main] [LifecycleManager.swift:170] connectAPI(reason:) > Connect finished for reason warm


2022-01-09 13:20:01.700 [Info] > HomeAssistant-Extensions-Widgets Version: 2021.12.1 Build: 2021.327 PID: 2428
2022-01-09 13:20:01.700 [Info] > XCGLogger Version: 7.0.1 - Level: Debug
2022-01-09 13:20:01.702 [Info] > XCGLogger writing log to: file:///private/var/mobile/Containers/Shared/AppGroup/48DA914C-D7FD-4CFA-9471-8F60ADFB9543/logs/HomeAssistant-Extensions-Widgets.txt
2022-01-09 13:20:01.703 [Info] [webhookmanager-data] [WebhookManager.swift:712] init(identifier:delegate:delegateQueue:background:) > webhook-io.robbie.HomeAssistant.Widgets initial tasks: []
2022-01-09 13:20:01.703 [Info] [webhookmanager-data] [WebhookManager.swift:712] init(identifier:delegate:delegateQueue:background:) > non-background initial tasks: []
2022-01-09 13:20:01.703 [Info] [main] [ServerManager.swift:362] migrateIfNeeded() > no historic server found to import

The same App works on my iPad, without issue.

HA works from a web browser on the phone.

Any suggestions?

Just seen…

which seems to work around the issue.

1 Like