Device Tracker Not Creating known_devices.yaml?

New to home assistant and trying to setup my Unifi Controller for presence detection. I believe I copied the tracker information correctly into the configuration.yaml file…

device_tracker:

  • platform: unifi
    host: 192.168.1.XXXX
    port: 8443
    username: HomeAssistant
    password: XXXXXXXXXX
    ssid_filter:
    • ‘XXXXXX’
    • ‘XXXXXX’

I also noticed the errors below in the logs. I had to replace all the links but the first two with the word LINK as I am apparently only allowed to post two links as a new user. All the links were pretty much identical to one of the first two.

cmdline: git clone --recursive -v https://www.home-assistant.io/components/device_tracker.unifi/ /data/addons/git/b48d8caf
stderr: 'Cloning into ‘/data/addons/git/b48d8caf’…
fatal: repository ‘https://www.home-assistant.io/components/device_tracker.unifi/’ not found
'.
18-05-10 21:40:54 ERROR (MainThread) [hassio.addons] Can’t load from repository LINK

18-05-10 21:40:54 INFO (MainThread) [hassio.addons] Load addons: 34 all - 0 new - 0 remove
18-05-10 21:42:32 INFO (MainThread) [hassio.addons.addon] Create Home-Assistant addon data folder /data/addons/data/core_configurator
18-05-10 21:42:32 INFO (SyncWorker_17) [hassio.docker.interface] Pull image homeassistant/armhf-addon-configurator tag 0.3.
18-05-10 21:42:53 INFO (SyncWorker_17) [hassio.docker.interface] Tag image homeassistant/armhf-addon-configurator with version 0.3 as latest
18-05-10 21:43:23 INFO (MainThread) [hassio.addons.git] Clone addon LINK
18-05-10 21:43:24 ERROR (MainThread) [hassio.addons.git] Can’t clone LINK repo: Cmd(‘git’) failed due to: exit code(128)
cmdline: git clone --recursive -v LINK
stderr: 'Cloning into ‘/data/addons/git/b48d8caf’…
fatal: repository LINK not found
'.
18-05-10 21:43:24 ERROR (MainThread) [hassio.addons] Can’t load from repository LINK
18-05-10 21:43:24 INFO (MainThread) [hassio.addons] Load addons: 34 all - 0 new - 0 remove
18-05-10 21:44:20 INFO (MainThread) [hassio.addons.git] Clone addon LINK repository
18-05-10 21:44:22 ERROR (MainThread) [hassio.addons.git] Can’t clone LINK repo: Cmd(‘git’) failed due to: exit code(128)
cmdline: git clone --recursive -v LINK
stderr: 'Cloning into ‘/data/addons/git/579d6181’…
fatal: repository LINK not found
I’m sure I am missing something, but I can’t figure it out. Could really use some suggestions. Thanks!

Okay, so I tried installing using Hassbian instead and still getting an error…

Error during setup of component device_tracker
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py”, line 142, in _async_setup_component
result = await component.async_setup(hass, processed_config)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/init.py”, line 156, in async_setup
devices = yield from async_load_config(yaml_path, hass, consider_home)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/device_tracker/init.py”, line 656, in async_load_config
device.pop(‘vendor’, None)
AttributeError: ‘str’ object has no attribute ‘pop’

Figured it out! The unfi password can’t use special characters.