Skip to content

v0.7.2 — History empty state: Poll button, not CLI hint

Choose a tag to compare

@jdrumgoole jdrumgoole released this 16 May 23:12
· 5 commits to main since this release

Changed

  • The History page's empty state no longer tells the user to drop to a shell and run `uv run python -m invoke poll-once`. It now offers a Poll SolisCloud now button that pulls each station's current state once via a new auth-gated `POST /history/poll-now` endpoint and refreshes the page so the chart UI takes over. Keeps the client experience GUI-only.

Fixed

  • `get_solis_client` no longer raises `AttributeError` when the lifespan handler hasn't initialised `app.state` (e.g. under `httpx.ASGITransport` in tests).