Get Zigbee2MQTT device description into HA

Is it possible to read the device description from Zigbee2MQTT in HA? I name all my devices by type and number (eg. Temp01, Temp02…) and tell in the Zigbee2MQTT description what they are for and where they are. I can see this info in the raw MQTT message (with MQTT explorer) in the topic: “zigbee2mqtt/bridge/info” but cant get it into HA. Any ideas?

There is no where to put it in HA, AFAIK.

I would like a description or notes field for devices in HA, but it doesn’t exist.

You can add custom attributes to any entity using customization options.

Posting here because this was the only relevant topic I could find on the subject.

Indeed, the information is right there in the MQTT data. I even got as far as manually creating an MQTT sensor and successfully got the info into HA:

# place into configuration.yaml
# replace <IEEE address> with your device ID
mqtt:
  sensor:
    - name: test_entity
      state_topic: zigbee2mqtt/bridge/info
      value_template: "{{ (value_json['config']['devices']['<IEEE address>']['description']) }}"

But I don’t want to do that for 70 Zigbee devices, plus what if they change (as they can be edited from Z2M side at any time)?

I mean, I could write a shell script to dynamically generate another configuration file, and then import that from configuration.yaml but we are getting ridiculous now (and also things like mosquitto_sub and jq are almost certainly not available inside the container). Surely there must be a better way?

Earlier today I made a post over at Z2M GitHub discussions, but the more I think about this, it seems a problem on the HA Integration side, as the data is being published by Z2M, just not showing up in HA.