#How to plumb through a zigbee cluster attribute to a sensor

1 messages · Page 1 of 1 (latest)

regal gazelle
#

Hi folks -

I have a Sinope TH1300ZB thermostat that exposes a room_temperature cluster attribute. I'm looking to expose that attribute value as a HA sensor entity.

The attribute is included in the zha quirk for the device. But I've had a hard time tracing the code to see how HA/ZHA chooses which attributes to expose as entities.

Can anyone help point me in the right direction? I'm a software engineer, so I'm happy to contribute the change to HA/ZHA once I know where to look 😉

jaunty barn
#

Hi @regal gazelle,

The attribute is included in the zha quirk
If that is the case, do you see in in the device screen?
Should be in the Controls or diagnostic areas of the device screen, you may need to enable the thing you are looking for.

neat mountainBOT
regal gazelle
jaunty barn
#

And none are hidden in that screen?

#

In my example 2 diagnostic entities are hidden, you can enable them.

tidal tartan
#

I don't have that device, but an attribute in a quirk isn't a guarantee that an entity will be created in HA. You can either add it via the ZHA repo, or better yet convert it to a V2 quirk and create the entity that way. You should be able to see the value via manage zigbee device