azuwis / zigbee2mqtt-networkmap

Home Assistant Custom Card to show Zigbee2mqtt network map
251 stars 18 forks source link

Using Home Assistant Name instead of Friendly Name in the map #50

Closed kalon33 closed 8 months ago

kalon33 commented 11 months ago

Describe the bug Currently the map displays the friendly_name from Z2M, which is an hexadecimal string. It would be great to be able to use Home Assistant Name instead of the Friendly Name, as the latter is not that friendly when trying to identify a device.

Home Assistant version 2023.10.0

Zigbee2mqtt version 1.33.1

OS and browser version Ubuntu 22.04.3 LTS

azuwis commented 11 months ago

See FAQ:

Q: How can I customize device names in the map?

A: The names showed in the map are given by Zigbee2mqtt, you need to configure Zigbee2mqtt to customize them, see https://www.zigbee2mqtt.io/guide/configuration/devices-groups.html#common-device-options for the friendly_name option.

Additionaly, HomeAssistant will automatically use the same names when MQTT auto discovery is enabled, see https://www.zigbee2mqtt.io/guide/usage/integrations/home_assistant.html#mqtt-discovery