Known_devices.yaml rename entities

Hi All,

Is there a correct way what to change the names in known_devices.yaml:

example:

bc_dd_c2_25_42_9e:
  icon:
  mac: BC:DD:C2:25:42:9E
  name: bc_dd_c2_25_42_9e
  picture:
  track: true

Want change this into

wrt_nanoleaf:
  icon:
  mac: BC:DD:C2:25:42:9E
  name: bc_dd_c2_25_42_9e
  picture:
  track: true

When I change this and save the file, reboot HA, all devices add again with first example part.

Can someone assist me in this?

wrt_nanoleaf: <<<<------ Entity name
  icon:
  mac: BC:DD:C2:25:42:9E  
  name: bc_dd_c2_25_42_9e  <<<<------ change here the name this displayed name
  picture:
  track: true

Else try to rename true Home assistatant
Goto : configuration > Customizations > find your entity > pick an attribute to override > change name

Grtzz

I already have customize the names. But want change the entity names as well.
When new devices will add to the list, I can separate them from the already known entities.

When friends come over their MAC address will add. So I can rename them nice… and build automations on…

What triggerd in your config that your wrt_nanoleaf got added to know_devices?
My guess is you configured the integration ping in your configuration.yaml

binary_sensor:
  - platform: ping
    host: 192.168.0.1
    name: wrt_nanoleaf

Im using AsusWRT platform. When a new device connect to the router it add in known_devices.
Now have a frontend add-on (auto-entities) that shows all devices in a simple card:

type: 'custom:auto-entities'
card:
  title: Asus WRT Devices
  type: entities
sort:
  method: name
filter:
  include:
    - domain: device_tracker
  exclude:
    - entity_id: '*geofency*'

I get a nice list of all device_trackers. When a new device is connected, I see this in the list without a nice name. To make it readable I want change the entity name also.

Or I give every entity a friendly_name and put it in customizer.

Iam not familiar with AsusWRT platform but as far I know and like you said at first post it should changeable there must be something that overwrite it.

Did you also rebooted your pi it self

And as far I read here dnsmasq.leases are stored which is used to track devices at /var/lib/misc/

Maybe you could find your answer there

Thanks for the info. I’m finding out to give them a name in known_devices.yaml
None of the Mac addresses will be stored elsewhere.

My customize file will stored on Github. Not a good idea to have all my Mac addresses there… haha