I have already tried to setup integration from beginning, modify consider_home time, restarted everything, updated Unifi to last availabe firmware. Nothing helped or changed that behaviour.
It is not happening all the time- for example, today the problem persisted from 0:45 to 1:58, then from 6:42 for couple of minutes.
Thanks for the feedback, glad it improved your situation. Not withstanding possible bugs Im quite happy with the state of the code in 0.110. It has become rewritten in a much more maintainable way
Unfortunately after updating to 0.110.1 problem still exists. I’ve even tried to remove whole integration and add configure it again, but it’s the same- state of unifi devices if flickering between home/away every couple of seconds.
Logger: homeassistant.setup
Source: components/device_tracker/legacy.py:279
First occurred: 21:47:32 (1 occurrences)
Last logged: 21:47:32
Error during setup of component device_tracker
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 213, in _async_setup_component
result = await task
File “/usr/src/homeassistant/homeassistant/components/device_tracker/init.py”, line 52, in async_setup
await async_setup_legacy_integration(hass, config)
File “/usr/src/homeassistant/homeassistant/components/device_tracker/legacy.py”, line 153, in async_setup_integration
legacy_platforms = await async_extract_config(hass, config)
File “/usr/src/homeassistant/homeassistant/components/device_tracker/legacy.py”, line 279, in async_extract_config
raise ValueError(
ValueError: Unable to determine type for unifi: None
using the main LAN IP :
Logger: homeassistant.setup
Source: components/device_tracker/legacy.py:279
First occurred: 22:01:41 (1 occurrences)
Last logged: 22:01:41
Error during setup of component device_tracker
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/setup.py”, line 213, in _async_setup_component
result = await task
File “/usr/src/homeassistant/homeassistant/components/device_tracker/init.py”, line 52, in async_setup
await async_setup_legacy_integration(hass, config)
File “/usr/src/homeassistant/homeassistant/components/device_tracker/legacy.py”, line 153, in async_setup_integration
legacy_platforms = await async_extract_config(hass, config)
File “/usr/src/homeassistant/homeassistant/components/device_tracker/legacy.py”, line 279, in async_extract_config
raise ValueError(
ValueError: Unable to determine type for unifi: None
The integration communicates with the cloud controller software without that it’s probably not going to work. Why not try one of the edge router integrations instead?