Replies: 4 comments 1 reply
-
To expose new device types or new clusters and attributes that are not already exposed in the UI of ZHA you need modify the zha component code inside Home Assistant’s core -> https://github.com/home-assistant/core/tree/dev/homeassistant/components/zha |
Beta Was this translation helpful? Give feedback.
-
Depending on what you want to expose it might also be good to also post such questions to the zigpy reposoitory as more ZHA developers are likley to spot such questions if create discussion there -> https://github.com/zigpy/zigpy
Btw, I believe that discission you are referring to can be found here -> zigpy/zigpy#1312 |
Beta Was this translation helpful? Give feedback.
-
ZHA needs to be modified for now, but we're adding support for "quirks v2" soon (if everything goes as planned). |
Beta Was this translation helpful? Give feedback.
-
FYI, ZHA/zigpy developers have now introduced initial support for what they call ”quirks v2” and dmulcahey begun how-to documentation: This is a huge change since will allow adding new entities to Home Assistant via quirks alone without having to modify ZHA code in HA core. For more information see these for reference: That PR with new docs will initially add a separate
PS: Also check out summarized back-story and more links here: |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to add support for some custom attributes to the UI configuration of a device.
I'm able to create quirck and add desired attributes to the cluster.
I can also able set/get attribute in the "Manage Zigbee devices" view.
However, I can't find any documentation (or I clearly don't understand) on how to display these attributes in the UI and add some configuration elements like switches, sliders, or input fields, along with specific text.
I've read some discussions and ideas about "exposes," but this is still an ongoing discussion.
Can you suggest a starting point to understand how to add icons and fields/switches/sliders to the UI?
Beta Was this translation helpful? Give feedback.
All reactions