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

fix(climate): Preset mode always is null #488

Merged
merged 1 commit into from
Jan 17, 2025
Merged

Conversation

xZetsubou
Copy link
Owner

@xZetsubou xZetsubou commented Jan 17, 2025

related: #486

  • Ensure the preset DP is the same HVAC mode DP before check.

  • The condition would ensure that if preset and HVAC share same DP to not update preset mode if HVAC changed. this made because if preset contains more HVAC modes that aren't supported by HA would give user ability to change it otherwise state would be stuck to the latest one and would require to change it to another one then back.

- Ensure the preset dp is the same hvac mode dp before check.

- The condition would ensure that if preset and hvac share same dp to not update preset mode if hvac changed. this made because if preset contains more hvac modes that aren't supported by HA would give user ability to change it otherwise state would be stuck to the latest one and would reqiure to change it to another one then back.
@xZetsubou xZetsubou merged commit 5b7ec15 into master Jan 17, 2025
2 checks passed
@xZetsubou xZetsubou deleted the fix-preset-null-state branch January 17, 2025 11:43
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