Skip to content
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

Better support of cooling mode for thermostats #321

Open
atsju opened this issue Dec 8, 2024 · 0 comments
Open

Better support of cooling mode for thermostats #321

atsju opened this issue Dec 8, 2024 · 0 comments

Comments

@atsju
Copy link

atsju commented Dec 8, 2024

I don't have the knowledge to fix this myself but here is a breakdown of my findings.

zha deduces the supported hvac_modes from the zigbee cluster/attribute thermostat_cluster_handler/ctrl_sequence_of_oper

def hvac_modes(self) -> list[HVACMode]:

SEQ_OF_OPERATION = {

Problem is that the attribute can be set to heating_only by manufacturer but this doesn't mean the thermostat cannot be set to cooling mode.
Ideally, there would be a way to try all "ctrl_sequence_of_oper" and "all system_mode" attributes of the ZCL to see what is actually supported by the thermostat.

There are other related issues that would benefit from this like zigpy/zha-device-handlers#2707
zigpy/zha-device-handlers#3587
and probably more https://github.com/zigpy/zha-device-handlers/issues?q=is%3Aissue+is%3Aopen+thermostat++cool

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

No branches or pull requests

1 participant