Skip to content

Fix Nuos Split plant mode values (PROGRAM=1, MANUAL=2) - #208

Merged
astrinh0 merged 1 commit into
fustom:mainfrom
Sartog:fix-nuos-plant-mode-values
Nov 25, 2026
Merged

astrinh0 merged 1 commit into
fustom:mainfrom
Sartog:fix-nuos-plant-mode-values

Conversation

@Sartog

@Sartog Sartog commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #203: NuosSplitPlantMode had MANUAL and PROGRAM swapped.

Real-device test (VELIS NuosSplit, ariston==0.19.18, standalone script outside HA):

  • The official app showed "Programmé". The cloud returned mode=1, which the library labelled MANUAL.
  • Sending NuosSplitPlantMode.PROGRAM (value 2) made the app switch to "Manuel".
  • Restoring value 1 brought the app back to "Programmé".

So the R2 write works (the cloud applies plantMode), but the values are inverted: 1 = Program, 2 = Manual.

Changes

  • NuosSplitPlantMode: MANUAL = 2, PROGRAM = 1. Member order is kept so the options stay ["MANUAL", "PROGRAM"].
  • Tests updated, plus test_values_match_official_app to pin the mapping.

The integration PR (fustom/ariston-remotethermo-home-assistant-v3#554) only uses the member names, so it needs no code change, just a library release with this fix.

🤖 Generated with Claude Code

https://claude.ai/code/session_017vn98CDwmeppfpaPgDUykC

Verified on a real VELIS NuosSplit: the official app shows 'Programmé'
for slpPlantData mode 1 and 'Manuel' for mode 2. The enum had them swapped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017vn98CDwmeppfpaPgDUykC
@astrinh0
astrinh0 merged commit 63d96b2 into fustom:main Nov 25, 2026
5 checks passed
@Sartog
Sartog deleted the fix-nuos-plant-mode-values branch November 26, 2026 18:12
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.

2 participants