I am setting up device trackers and having an annoying issue with known_devices. I’m using asuswrt and my problem is that it keeps pulling in every device on the network. I wouldn’t really have a huge problem with that - guess I can deal and just set track: no - but then it’s also changing the names of the devices I DO want.
I’m using:
device_tracker:
- platform: asuswrt
host: 192.168.1.1
username: !secret routerUser
password: !secret routerPass
protocol: telnet
track_new_devices: False
hide_if_away: False
and I have also tried:
device_tracker:
- platform: asuswrt
host: 192.168.1.1
username: !secret routerUser
password: !secret routerPass
protocol: telnet
new_device_defaults:
track_new_devices: False
hide_if_away: False
So with the devices I DO want to track, I’ve changed the name on them to:
Steven:
hide_if_away: false
mac: AB:CD:EF:GH:12:34
name: Steven
picture: !secret stevenPicture
track: true
vendor: unknown
But when I reboot, it changes “Steven” back to “android2875612873568273” or whatever the hostname is of my phone, thus breaking my automations/groups that are using the proper name.
How can I configure it in a little more detail? I’m about to just set that file as read-only once I get it the way I want it, but I have a feeling it will get mad at me if I do…