Skip to content

Show the new GALEVO zone target right after a comfort temp change - #10

Merged
wojciech-aniol merged 1 commit into
mainfrom
galevo-desired-temp
Oct 26, 2026
Merged

wojciech-aniol merged 1 commit into
mainfrom
galevo-desired-temp

Conversation

@wojciech-aniol

Copy link
Copy Markdown
Owner

A GALEVO comfort temp write stored only ZoneComfortTemp, but the zone target reads ZoneDesiredTemp, 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_temp and async_set_comfort_temp check _aims_at_comfort_temp(zone) before the write and, if so, store the new value as ZoneDesiredTemp after it.
  • Real device data (Nimbus, time program, comfort part): ZoneDesiredTemp 20.0 = ZoneComfortTemp 20.0, economy 19.0.
  • Edge case: in a time program with equal comfort and economy temps, the target may move while the zone is in its economy part. The next poll fixes it.
  • Tests: tests/test_galevo_device.py, sync and async: the target moves when it equals comfort, and stays when it does not. api.async_set_property added to the shared fake API. 150 tests pass.
  • Checked with the integration: its 662 tests pass with this library on 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.yml pins it.

🤖 Generated with Claude Code

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>
@wojciech-aniol wojciech-aniol self-assigned this Oct 26, 2026
@wojciech-aniol
wojciech-aniol marked this pull request as ready for review October 26, 2026 08:30
@wojciech-aniol
wojciech-aniol merged commit 11ecfb5 into main Oct 26, 2026
5 checks passed
@wojciech-aniol
wojciech-aniol deleted the galevo-desired-temp branch October 26, 2026 08:30
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