Skip to content

docs(teslemetry): correct find_authorized_clients reliability claim#82

Merged
Bre77 merged 1 commit into
mainfrom
fm/tfa-authclients-docstring-fix
Jul 16, 2026
Merged

docs(teslemetry): correct find_authorized_clients reliability claim#82
Bre77 merged 1 commit into
mainfrom
fm/tfa-authclients-docstring-fix

Conversation

@Bre77

@Bre77 Bre77 commented Jul 16, 2026

Copy link
Copy Markdown
Member

Intent

  • find_authorized_clients()'s docstring (and the matching passage in docs/teslemetry.md) described the cloud authorized-clients check as "best-effort" with an implied staleness/malformed-data concern
    • Traced the claim via git history: the one confirmed anomaly is an intermittent null response body, already root-caused and attributed to the Teslemetry API response itself (f801be1/f65ceb5), not the underlying Tesla command - and it's already handled by raising InvalidResponse with test coverage
    • No repo evidence supports a broader staleness/reliability claim about the command
  • Rewrote both spots to state what the accessor returns/raises factually, dropping the unevidenced reliability editorializing (without swinging to overpromising reliability either)
  • docs/energy_local_control.md and AGENTS.md were left as-is - their wording around the null-body issue is already correctly scoped to the Teslemetry response and evidenced, so nothing there needed correcting

Pipeline

Skipped per standing rule for docs-only changes in this repo - no behavior change, docstring/docs wording only. Ran locally instead: uv run pytest tests (362 passed), uv run ruff check, uv run pyright (all clean).

The docstring and docs/teslemetry.md characterized the cloud
authorized-clients check as "best-effort" with an implied staleness
concern. The repo's own history shows the one confirmed anomaly (an
intermittent null response body) was already root-caused and
attributed to the Teslemetry API response, not the underlying Tesla
command, and is already handled by raising InvalidResponse - there is
no evidence backing a broader staleness/reliability claim about the
command itself. Rewrite both to state what the accessor returns
without the unevidenced reliability editorializing.
@Bre77
Bre77 merged commit 97d49c1 into main Jul 16, 2026
5 checks passed
@Bre77 Bre77 mentioned this pull request Jul 20, 2026
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