docs: correct energy_totals connect-time snapshot claim - #28
Conversation
listen_EnergyTotals and AGENTS.md/CLAUDE.md claimed no snapshot is sent on connect. The server does send one, flagged isCache: true.
💡 Codex Reviewpython-teslemetry-stream/teslemetry_stream/vehicle.py Lines 325 to 328 in 29c5aa8 When a stream is constructed with AGENTS.md reference: AGENTS.md:L19-L19 ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Intent
listen_EnergyTotals's docstring (and the matching AGENTS.md/CLAUDE.md note) claimed the server sends no snapshot on connect forenergy_totals. It does - a connect-time snapshot arrives flaggedisCache: true, same aslive_status/site_info.isCachemeans, while keeping the still-accurate parts (compact totals, not a full document; periodic-poll-only after that; silence between events isn't staleness).