Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change standby to be a preset rather than HVACMode.OFF #258

Merged
merged 3 commits into from
Feb 8, 2025

Conversation

ocrease
Copy link
Collaborator

@ocrease ocrease commented Feb 8, 2025

This PR implements #255. Previously Standby mode was modelled as HVACMode.OFF, but the Heatmiser devices are not fully off, they will still call for heat if the temperature drops below the set frost temperature. To align more closely with Home Assistant, rather than use HVACMode.OFF, Standby is now modelled as a preset.

Image

NOTE: this is a breaking change. Anyone currently relying on using HVACMode will need to migrate their automations/scripts to use climate.set_preset_mode instead of climate.set_hvac_mode

@ocrease
Copy link
Collaborator Author

ocrease commented Feb 8, 2025

@MindrustUK keep this open for now. I am working on temporary backwards compatibility

@ocrease ocrease merged commit 3b10f17 into MindrustUK:dev Feb 8, 2025
2 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant