Core: devicetracker unifi does not come up with 100.1

Created on 11 Oct 2019  路  6Comments  路  Source: home-assistant/core

Home Assistant release with the issue:
0.100.1

Last working Home Assistant release (if known):
0.99.2

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

Description of problem:
devicetracker worked for me up to version 0.99.2, but now there is a configuration error reported. When looking for the logfile I found the following lines:

# cat /home/homeassistant/.homeassistant/home-assistant.log
2019-10-11 00:22:38 ERROR (MainThread) [homeassistant.setup] Error during setup of component device_tracker
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 167, in _async_setup_component
    hass, processed_config
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/device_tracker/__init__.py", line 142, in async_setup
    legacy_platforms = await setup.async_extract_config(hass, config)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/device_tracker/setup.py", line 114, in async_extract_config
    platform.name, platform.type
ValueError: Unable to determine type for unifi: None

Most helpful comment

Got the same, just remove your device_tracker configuration. It's not needed anymore since 0.98. See https://www.home-assistant.io/integrations/unifi

All 6 comments

same problem here;

2019-10-11 07:53:14 ERROR (MainThread) [homeassistant.setup] Error during setup of component device_tracker
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 167, in _async_setup_component
    hass, processed_config
  File "/usr/src/homeassistant/homeassistant/components/device_tracker/__init__.py", line 142, in async_setup
    legacy_platforms = await setup.async_extract_config(hass, config)
  File "/usr/src/homeassistant/homeassistant/components/device_tracker/setup.py", line 114, in async_extract_config
    platform.name, platform.type
ValueError: Unable to determine type for unifi: None

Got the same, just remove your device_tracker configuration. It's not needed anymore since 0.98. See https://www.home-assistant.io/integrations/unifi

Have you removed your device tracker configuration of unifi?

Got the same error after upgrading to ver 0.100.1. I have removed the device_tracker and replaced with unifi. Now I don't see the devices at all (before I could see all devices under Unused Enties). How can I track my devices again?

You have a unifi entry in configuration -> integrations @marrossko?

that's what i missed! Thanks for the tip. All works now.

Was this page helpful?
0 / 5 - 0 ratings