Skip to content

Commit ba4faeb

Browse files
theharshlclaude
andcommitted
fix: bump htd-client-ha to 0.1.5, fixing zone-control desync errors
htd-client-ha 0.1.5 fixes a parser bug where a checksum failure trusted the malformed frame's declared length instead of resyncing, turning a single dropped/corrupted serial byte into a permanent desync during zone control (issue #19). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 501cbfb commit ba4faeb

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

custom_components/htd/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [0.0.35] - 2026-07-10
2+
### Fixed
3+
- Zone control (volume/source/power changes) triggered a slew of "Bad sync buffer", "Bad checksum", and "Invalid command value" errors after a successful setup (issue #19, reported by @steve28). `htd-client-ha` 0.1.5: the response parser trusted the declared length of a frame that had already failed checksum validation, so a single dropped or corrupted byte from the serial adapter — which is expected occasionally on cheap USB-serial hardware — desynced the parser permanently instead of recovering on the next valid frame. It now resyncs by discarding only the malformed frame's header, the same recovery already used for unrecognized commands.
4+
15
## [0.0.34] - 2026-07-10
26
### Fixed
37
- Serial setup on cheap/slow USB-serial adapters was extremely unreliable — "Could not connect" / "unknown_model" during the config flow and "Failed to setup" after it, requiring many retries, again on every Home Assistant restart (issue #19, reported by @steve28). Three root causes fixed:

custom_components/htd/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"iot_class": "local_push",
1919
"issue_tracker": "https://github.com/theharshl/htd-home-assistant/issues",
2020
"requirements": [
21-
"htd-client-ha==0.1.4"
21+
"htd-client-ha==0.1.5"
2222
],
23-
"version": "0.0.34"
23+
"version": "0.0.35"
2424
}

0 commit comments

Comments
 (0)