Skip to content

Fix set-command log messages reporting protocol byte (issue #890)#900

Merged
IgorYbema merged 1 commit into
heishamon:mainfrom
IgorYbema:fix-setcommand-log-values-890
Jun 1, 2026
Merged

Fix set-command log messages reporting protocol byte (issue #890)#900
IgorYbema merged 1 commit into
heishamon:mainfrom
IgorYbema:fix-setcommand-log-values-890

Conversation

@IgorYbema
Copy link
Copy Markdown
Member

Several set-commands logged the internal protocol byte value instead of the user's input value, e.g. SetHeatpump=0 reported "set heatpump state to 1". Convert the protocol byte back to the user-facing value so the log always reflects the state actually sent, matching the back-conversion style already used by most commands in this file.

Affected: SetHeatpump, SetPump, SetForceDHW, SetForceDefrost, SetForceSterilization, SetHolidayMode, SetMainSchedule, SetBivalentControl, SetBivalentMode.

…#890)

Several set-commands logged the internal protocol byte value instead
of the user's input value, e.g. SetHeatpump=0 reported "set heatpump
state to 1". Convert the protocol byte back to the user-facing value
so the log always reflects the state actually sent, matching the
back-conversion style already used by most commands in this file.

Affected: SetHeatpump, SetPump, SetForceDHW, SetForceDefrost,
SetForceSterilization, SetHolidayMode, SetMainSchedule,
SetBivalentControl, SetBivalentMode.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@IgorYbema IgorYbema merged commit 581dc5c into heishamon:main Jun 1, 2026
1 check passed
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