Skip to content

Fix Nuos Split modes (Green, Green+) and setpoint state - #4

Merged
wojciech-aniol merged 2 commits into
mainfrom
nuos-split-fixes
Oct 25, 2026
Merged

wojciech-aniol merged 2 commits into
mainfrom
nuos-split-fixes

Conversation

@wojciech-aniol

@wojciech-aniol wojciech-aniol commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Fixes four Nuos Split bugs reported upstream and one found in review. Green+ (opMode 6) gets a mode, so it shows and can be selected. Mode changes always send "old", which the cloud needs to apply GREEN. Mode and comfort temperature read back right after a set, not after the next poll. Changing the reduced temperature no longer moves the comfort setpoint to the water temperature.

Changes

Not taken from upstream: removing COMFORT (fustom/python-ariston-api#183) and renaming IMEMORY to AUTO (fustom/python-ariston-api#187). Both break public names.

Tests

tests/test_nuos_split_device.py, sync and async: Green+ text, the old key in the real request body (_post / _async_post patched, no network), mode and temperature read back after a set, plant mode untouched, state loaded when the old mode or comfort is unknown, reduced set keeps comfort, unknown comfort raises. Every fix has a test that fails without it. 31 tests and ruff pass.

No label: patch release. The integration's bump-library.yml pins it after the release; the integration has no Nuos tests yet.

🤖 Generated with Claude Code

A Nuos Split in Green+ reports opMode 6, which had no enum value, so its
mode text was UNKNOWN and Green+ could not be selected. The cloud also
ignores GREEN when the operativeMode body has no "old" key, so the mode
request now always sends it.

The mode and temperature setters stored the new value under keys the
getters do not read (mode, procReqTemp), so the old value showed until
the next poll. Changing the reduced temperature sent the measured water
temperature as the new comfort setpoint; it now keeps the comfort
setpoint and raises when that is unknown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wojciech-aniol wojciech-aniol self-assigned this Oct 25, 2026
The cloud ignores GREEN without "old", likely because a missing old
counts as 0 and old == new is skipped. So an unknown old mode is now
sent as a mode that differs from the new one, not as the new one. The
mode setters also load the state first when opMode is unknown.

The reduced temperature setters now refresh when the comfort setpoint
is missing, not only when the data is empty.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wojciech-aniol
wojciech-aniol marked this pull request as ready for review October 25, 2026 08:32
@wojciech-aniol
wojciech-aniol merged commit 0affdd9 into main Oct 25, 2026
5 checks passed
@wojciech-aniol
wojciech-aniol deleted the nuos-split-fixes branch October 25, 2026 08:32
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