core: HA Stops Responding (Unifi Integration Related)

Home Assistant release with the issue:

0.103.0

Last working Home Assistant release (if known):

0.102.3

Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io

Integration:

https://www.home-assistant.io/integrations/unifi/

Description of problem:

Occuring twice after upgrading to 0.103.0 (upgraded to 0.103.4 now), HA seems to freeze (not 100% correct, HA just takes minutes to respond to API requests). The logs are spammed with the below stack trace. Most of the CPU is eaten by HA (just a poor i3). Restarting the homeassistant container mitigates the problem.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

unifi:
  controllers:
    - host: 192.168.0.1
      site: Default
      # ssid_filter:
      ## Not working
      dont_track_clients: false
      dont_track_devices: true
      dont_track_wired_clients: true
      detection_time: 900

Traceback (if applicable):

.... truncated (26GB of logs) ....
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 164, in request_update
    return await self.progress
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 281, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 459, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/device_tracker.py", line 161, in async_update
    await self.controller.request_update()
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 167, in request_update
    await self.progress
  File "/usr/src/homeassistant/homeassistant/components/unifi/controller.py", line 177, in async_update
    await self.api.clients.update()
  File "/usr/local/lib/python3.7/site-packages/aiounifi/api.py", line 20, in update
    raw = await self._request('get', self._path)
  File "/usr/local/lib/python3.7/site-packages/aiounifi/controller.py", line 69, in request
    response = await res.json()
  File "/usr/local/lib/python3.7/site-packages/aiohttp/client_reqrep.py", line 1040, in json
    return loads(stripped.decode(encoding))
  File "/usr/local/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/local/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 49271 (char 49270)

Additional information:

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 39 (14 by maintainers)

Most upvoted comments

Ah ok, well I’d consider this one done then.

I’ve been running for a bit over 24 hours now and have seen no sign of the original issue.  Thanks for your work on this Robert.

@amaximchuk you can enable debug for UniFi integration per integration instructions to see what happens. A new issue was just created with a similar issue though reported on 0.105 https://github.com/home-assistant/home-assistant/issues/32170