Device Tracker ping

Hey,
I have a problem with device tracking via ping:

device_tracker:

  • platform: ping
    friendly_name: Paul
    hosts:
    paul: 192.168.1.101

but the friendly name under states is always device_tracker.kevin . It is the name, I chose, when I tried the device_tracker for the first time. Can you help me?

friendly_name: isn’t an option for the ping sensor. You would need to put that under customize. You can also check your known devices file for an entry with the kevin name in there. Delete it and let ha add it back after a restart with the new name in your config.