Mass new devices found, device_tracker, known_devices

After restart HA. All my devices found again in known_devices.yaml which actually inside the known_devices.yaml
Can now HA rename the device name or ?

example my old device.
pro_1:
  hide_if_away: false
  icon: mdi:remote
  mac: !secret mac_pro1
  name: Pro 1
  picture: 
  track: true
  vendor: Broadlink

example new device found again which is the same device.
34ea34c78ee3:
  hide_if_away: false
  icon:
  mac: 34:EA:34:C7:8E:E3
  name: 34ea34c78ee3
  picture:
  track: true

You can’t use secrets in known_devices.

Its added it as a new device, because that device didn’t exist, because the mac address wasn’t there.

Remove the entry with the secret in it and add the known_devices file to your .gitignore

1 Like

Thank you for your reply. I will try after back from work.

1 Like

Thank you very much. This is much easier to check device tracker name.

1 Like