Repository navigation
Show the new GALEVO zone target right after a comfort temp change - #10
Merged
Merged
Conversation
A comfort temp write stored only ZoneComfortTemp, but the zone target reads ZoneDesiredTemp, so the new target showed only after the next poll. When the zone aims at its comfort temp (manual mode, or the comfort part of a time program), the target now moves too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
A GALEVO comfort temp write stored only
ZoneComfortTemp, but the zone target readsZoneDesiredTemp, so the integration's climate showed the new target only after the next poll (180 s by default). Now, when the zone aims at its comfort temp (target equals it), the stored target moves too. A zone that aims at another temp, like the economy one in a time program, keeps its target.Fixes item 2 of wojciech-aniol/ariston-net-home-assistant#16.
Details
set_comfort_tempandasync_set_comfort_tempcheck_aims_at_comfort_temp(zone)before the write and, if so, store the new value asZoneDesiredTempafter it.ZoneDesiredTemp20.0 =ZoneComfortTemp20.0, economy 19.0.tests/test_galevo_device.py, sync and async: the target moves when it equals comfort, and stays when it does not.api.async_set_propertyadded to the shared fake API. 150 tests pass.PYTHONPATH, and its climate shows the new target at once (22.0 → 23.5) when target and comfort are equal.No label: patch release, then the integration's
bump-library.ymlpins it.🤖 Generated with Claude Code