cyberjunky / home-assistant-arpscan_tracker

This component tracks devices using the arp-scan liinux command, it's very fast, and reasonably accurate.
MIT License
28 stars 4 forks source link

friendly names #15

Closed DzgHomeCastle closed 9 months ago

DzgHomeCastle commented 10 months ago

Is there a possibility to configure friendly_name for devices? Eg. Device is discovered as device_tracker.dasdl32oi2hdslcsy, but I would like to see device_tracker.MyPhone.

rbak69 commented 10 months ago

Hi @DzgHomeCastle yes that is possible. Just go to the "known_devices.yaml" file and change the name of the discovered entry to whatever you like (and restart Home Assistant).

myphone: name: My Mobile Phone mac: aa:bb:cc:dd:ee:ff icon: mdi:cellphone track: true

This results in your device to be known within Home Assistant as "device_tracker.myphone"