Cant get into config to edit known_devices.yaml

I am in it but don’t see line numbers

Does your Unifi Controller run on the same machine as your HA install?
If it does, delete or comment out the line with the referring to the host IP address.

That’s what my setup for the Unifi Tracker config looks like:

device_tracker:
# Show devices on WLAN Network through the Unifi Controller running on Pi3
  - platform: unifi
    username: !secret unifi_user
    password: !secret unifi_pass
    interval_seconds: 30
    verify_ssl: false

So, those errors looks to be in core files, like @Mike_D said.

The typical approach to HA is that you install and you make a single change and you address whatever issue you see as errors, so that you can simply back out the last change. The big question is, when was the first time you saw these errors? Do you have Samba installed so that you can easily edit your configuration.yaml? Do you also have an editor like notepad++ or text wrangler on the mac that numbers lines and can also show you formatting errors?

When you run into tons of problems, you typically revert the last change and restart HA and then take it from there. If you now have multiple problems, I would ask you to roll back the previous changes to get to a system with no errors.

I edit config.yaml with ++

I saw these errors when I tried to do presence detection.

The unify software is not on the same machine.

I am going to find a fresh configuraion.yaml and give it another shot.

It looks good for the most part. Let’s remove the enabled from discovery and the bluetooth tracker.

Once those are removed. Restart HA. We can then try and add your unify tracker back in.

Did that, restarted. Called the service device_tracker and get

Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
    result = next(coro)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/core.py", line 1010, in _event_to_service_call
    yield from service_handler.func(service_call)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/device_tracker/__init__.py", line 208, in async_see_service
    yield from tracker.async_see(**args)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/device_tracker/__init__.py", line 263, in async_see
    raise HomeAssistantError('Neither mac or device id passed in')
homeassistant.exceptions.HomeAssistantError: Neither mac or device id passed in

Can you repost edited config.yaml?

Found this post. Their issue was a device that had no mac address. Do you have any way to see all the device connected to your network?

I’m not running a vpn. I see everything on my network using Fing app if that’s what you mean.

I am going to walk away from this for a while. Thanks for the help.