Skip to content

Conversation

@ouaibe
Copy link

@ouaibe ouaibe commented Oct 31, 2025

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.
image

Device diagnostics

2025-10-26 08:57:48.048 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [**REDACTED**]: cluster_handler[thermostat] attribute_updated - cluster[Thermostat] attr[16392] value[846]
2025-10-26 08:57:48.048 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=16392, attribute_name=16392, attribute_value=846, cluster_handler_unique_id='**REDACTED**', cluster_id=513, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (8 listeners)
2025-10-26 08:57:48.049 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [**REDACTED**]: cluster_handler[thermostat] attribute_updated - cluster[Thermostat] attr[16393] value[59]
2025-10-26 08:57:48.049 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=16393, attribute_name=16393, attribute_value=59, cluster_handler_unique_id='**REDACTED**', cluster_id=513, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (8 listeners)

zha-8fdbbba0cd6c61f53202f4f5a2f05d82-Stello HT402-708e916b645a299a90a9f1b6289e1505.json

Checklist

  • The changes are tested and work correctly
  • pre-commit checks pass / the code has been formatted using Black
  • Tests have been added to verify that the new code works
  • Device diagnostics data has been attached

ouaibe and others added 7 commits October 30, 2025 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant