Quirks V2 for Stelpro (Stello) Allia HT402 Thermostat (Power + Energy attributes) #4453
+81
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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