Skip to content

docs: correct four stale claims and two markdownlint errors - #53

Merged
dcj merged 1 commit into
mainfrom
docs/correct-stale-claims
Aug 13, 2026
Merged

docs: correct four stale claims and two markdownlint errors#53
dcj merged 1 commit into
mainfrom
docs/correct-stale-claims

Conversation

@dcj

@dcj dcj commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Stacked on #52 (which is stacked on #51). Merge in order: #51, #52, then this.

Found while writing the 0.20.0 docs. None is caused by that work; each would otherwise have shipped a third consecutive release saying something untrue.

  • README.md Requirements pinned ebus-mqtt-client >= 0.3.0 while pyproject.toml has required >= 0.4.0 since 0.18.0. Now also annotates what 0.4.0 added (asyncio_driver), matching how the other floors in that entry are annotated.

  • Two comments in homie.py said the Homie 5 empty-string encoding was "not yet implemented (SDK-ef1 / known limitation)". It is implemented, a few lines below the first of them, via encode_empty_string(). The distinction those comments draw is still exactly the point and is kept: a zero-length payload retracts a retained topic; a 1-character 0x00 payload is an empty-string value.

  • adapter.py said registering the mirror means "every value change republishes to MQTT". Still true of a change, but the Homie layer now gates a republish whose wire payload is unchanged, and this docstring is the documented seam between the two dedup layers, so it should say which does what.

  • Two markdownlint errors, both whitespace-only diffs: a code fence at column 0 broke ordered-list continuity in doc/ha-discovery-bridge.md (MD029 — the following 2. was read as a new list starting at 2), and fences inside list items lacked surrounding blank lines in doc/packaging-for-legacy-setuptools.md (MD031).

Ruff's extend-exclude = ["*.md"] keeps prose out of both check and format, so nothing in CI would ever have caught the last two. Every Markdown file in the repo now passes markdownlint-cli2.

596 tests pass; ruff check and ruff format --check clean.

🤖 Generated with Claude Code

Found while writing the 0.20.0 docs; none is caused by that work, and each
would have shipped a third release saying something untrue.

- README Requirements pinned `ebus-mqtt-client >= 0.3.0` while pyproject.toml
  has required >= 0.4.0 since 0.18.0. Also notes what 0.4.0 added
  (asyncio_driver), matching how the other floors are annotated.

- Two comments in homie.py said the Homie 5 empty-string encoding was "not yet
  implemented (SDK-ef1 / known limitation)". It is implemented, a few lines
  below the first of them, via encode_empty_string(). The distinction the
  comments draw is still the point and is kept: a zero-length payload retracts
  a retained topic, a 1-character 0x00 payload is an empty-string VALUE.

- adapter.py said registering the mirror means "every value change republishes
  to MQTT". Still true of a change, but the Homie layer now gates a republish
  whose wire payload is unchanged, and this docstring is the documented seam
  between the two dedup layers, so it should say which is which.

- markdownlint: a code fence at column 0 broke ordered-list continuity in
  ha-discovery-bridge.md (MD029, "2." read as a new list starting at 2), and
  fences inside list items lacked surrounding blank lines in
  packaging-for-legacy-setuptools.md (MD031). Both diffs are whitespace only.
  Ruff's extend-exclude keeps *.md out of check and format, so nothing in CI
  would ever have caught these.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@dcj
dcj force-pushed the docs/correct-stale-claims branch from 6f80238 to 301c07b Compare August 13, 2026 06:34
@dcj
dcj changed the base branch from feat/declare-lost to main August 13, 2026 06:34
@dcj
dcj merged commit 23bc64f into main Aug 13, 2026
5 checks passed
dcj added a commit that referenced this pull request Aug 13, 2026
Bumps __version__ to 0.20.0 (single source of truth), promotes Unreleased to
[0.20.0], and adds the compare/tag link definitions.

Two API-visible changes: property values are no longer republished when the wire
payload is unchanged (#50), and declare_lost() / stop(announce=False) close the
teardown gap (#46). Plus four stale doc claims corrected (#53).
@dcj
dcj deleted the docs/correct-stale-claims branch August 13, 2026 06:39
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