Skip to content

fix: preserve heat settings when turning on the fireplace - #139

Merged
deviantintegral merged 1 commit into
mainfrom
fix/turn-on-preserve-heat-settings
Sep 9, 2026
Merged

fix: preserve heat settings when turning on the fireplace#139
deviantintegral merged 1 commit into
mainfrom
fix/turn-on-preserve-heat-settings

Conversation

@deviantintegral

Copy link
Copy Markdown
Owner

turn_on() reads the full fire overview specifically so it can preserve existing settings, but it only ever wrote back ModeParam (321) and FlameEffectParam (322). HeatParam (323) — heat status, heat mode, setpoint temperature and boost duration — is a separate parameter and was never captured or written, so powering on left the heater state unconstrained: a fire whose heater was off could start heating as a side effect of the MANUAL mode write, while consumers deriving power state from HeatParam.heat_status still reported the heater as off.

Capture HeatParam in the overview read turn_on() already performs and write it back unchanged alongside ModeParam, exactly as is already done for FlameEffectParam. The heater keeps whatever status, mode, setpoint and boost duration the fire reported.

turn_off() is unchanged: it writes STANDBY, which stops the heater by design.

Claude-Session: https://claude.ai/code/session_01D1yvvxN11TEbSs6sMsR3K7

`turn_on()` reads the full fire overview specifically so it can preserve
existing settings, but it only ever wrote back ModeParam (321) and
FlameEffectParam (322). HeatParam (323) — heat status, heat mode,
setpoint temperature and boost duration — is a separate parameter and was
never captured or written, so powering on left the heater state
unconstrained: a fire whose heater was off could start heating as a side
effect of the MANUAL mode write, while consumers deriving power state
from `HeatParam.heat_status` still reported the heater as off.

Capture HeatParam in the overview read `turn_on()` already performs and
write it back unchanged alongside ModeParam, exactly as is already done
for FlameEffectParam. The heater keeps whatever status, mode, setpoint
and boost duration the fire reported.

`turn_off()` is unchanged: it writes STANDBY, which stops the heater by
design.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01D1yvvxN11TEbSs6sMsR3K7
@deviantintegral
deviantintegral merged commit a2a9e10 into main Sep 9, 2026
5 checks passed
@deviantintegral
deviantintegral deleted the fix/turn-on-preserve-heat-settings branch September 9, 2026 15:57
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