Skip to content

Latest commit

 

History

125 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hacs_badge GitHub release

NOTE FOR HA 2026.8

Prior to HA core version 2026.8, devices that were set up through more than one integration were merged into a single device. ZHA Device Info took advantage of this to merge device info into your ZHA devices. Since HA core version 2026.8.x eliminates merged devices, the system automatically splits them into separate integrations. This can (will) cause a conflict for any automations and scripts that might use your ZHA device ID. Things like device trigger actions, event triggers, and button presses, especially. If you update to 2026.8, you will receive repair warnings. You need to tell the system which device ID to use in your automations and scripts. These are manual repairs. There are also some repairs that may only appear in the system log (like some event triggers).

An easier workaround may be to temporarily remove the ZHA Device Info integration (which removes the conflicts that need repairs), update to 2026.8+, then set up the ZHA Device Info integration again. The devices will be split, and your automations and scripts won't need any repairing.


zha-device-info

ZHA zigbee device info as sensors in HA

version 0.3.1

Added translation strings

Past versions

  • v0.3.0 - made custom integration HACS compatible
  • v0.2.0 - Moved ZHA Device Info entities into their corresponding devices in the ZHA integration.
  • v0.1.0 - Initial creation and testing

To add via HACS:

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

or

  • copy the URL of this repo: https://github.com/iamjoshk/zha-device-info
  • Go to your HACS dashboard and click the three dots menu in the top right
  • select Custom repositories
  • paste the URL into the Repository field and select Integration from the type dropdown
  • click Add

Once the custom repo is added, then search for ZHA Device Info in the HACS dashboard and click. Then download it and restart Home Assistant.

Once HA restarts, go to Integrations and click Add Integration, then search for ZHA Device Info and add the integration.

Configure

  • When you add a new Entry, it will automatically find devices through your ZHA integration.
  • By default, a new ZHA Device Info entity will be created in each ZHA device. This entity will have the device's Zigbee info as attributes.
    • Primary entity will use the IEEE as its state.
    • Attributes will be:
      • IEEE
      • NWK
      • Manufacturer
      • Model
      • Name
      • Quirk Applied
      • Quirk Class
      • Power Source
      • LQI
      • RSSI
      • Last Seen
      • Available
      • Device Type
  • During set up (and later by clicking configure), you can choose to create separate entities for some of the attributes. The following entities can be created in the ZHA device:
    • Last Seen: as a sensor with Last Seen as state
    • Availability: as a binary_sensor with Available as state
    • Power Source: as a sensor with Power Source as state
    • Network Adress: as a sensor with hex NWK address as state
    • Quirk Info: as a binary_sensor with Quirk Applied (as state) and Quirk Class (as attribute)
    • Device Type: as sensor Device Type as state

Actions

The integration creates two new actions under Developer Tools -> Actions

  • zha_device_info.update - updates your ZHA Device Info entities.
  • zha_device_info.export - exports a json file with your ZHA Device Info entity data to /config/zha_devices.json (by default, but configurable)

Using flex-table-card to display ZHA Device Info

  • install flex-table-card from HACS
  • On your dashboard, add flex-table-card and add the entities you want to display.
    • Example:
      type: custom:flex-table-card
      title: Zigbee Device Info
      clickable: true
      entities:
      include:
        - sensor.zha_device_info_entity*
      columns:
      - data: device
        name: Device Name
      - data: ieee
        name: IEEE
      - data: nwk
        name: NWK
      - data: device_type
        name: Type
      

Credit: This integration used dmulcahey's https://github.com/dmulcahey/zha-device-exporter as the seed for the idea.

Releases

Packages

Contributors

Languages