-
Notifications
You must be signed in to change notification settings - Fork 928
Quirks V2 for Stelpro (Stello) Allia HT402 Thermostat (Power + Energy attributes) #4453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Initial version that works in HA.
Adding few doc URLs.
Adding docstrings to satisfy pydocstyle (pep257) requirements.
|
+1 to get this added! I know there is also a way to expose a field to display the exterior temperature It seems trivial in the Zigbee2MQTT world, I don't know what it would look like in the ZHA world. |
|
Yes I actually have a local working version of that external temperature display - it's perfectible (as the sensor created on the HA devices is off by x100C because of the Stelpro format), but the display on the termostats themselves works fine. It allows you to read from a temperature readout anywhere and update it accordingly on the termostats in your home. I will commit these additional options to the PR later. |
Add the outdoor temperature support with the caveat that it is off by x100C as it is the necessary format for the thermostat to display it properly and QuirksV2 don't seem to support inline lambda to_value/from_value in ZCLAttributeDef.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #4453 +/- ##
==========================================
+ Coverage 92.24% 92.25% +0.01%
==========================================
Files 369 370 +1
Lines 12088 12110 +22
==========================================
+ Hits 11150 11172 +22
Misses 938 938 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|




Proposed change
This is a quirks V2 configuration that allows reading of the proprietary/manufacturer power consumption (W) and Energy (Wh) attributes for Stelpro (identified as "Stello" by ZHA) Allia HT402 (Hilo-sold) thermostats.
Additional information
These attributes (0x4009 and 0x4008) have been identified from Koenkk/zigbee2mqtt#14651 (all works in Z2M flawlessly but not in ZHA).

The quirks makes them visible in HA as Power (immediate) and Energy (cumulative) sensors for every HT402 Thermostats connected.
Device diagnostics
zha-8fdbbba0cd6c61f53202f4f5a2f05d82-Stello HT402-708e916b645a299a90a9f1b6289e1505.json
Checklist
pre-commitchecks pass / the code has been formatted using Black