Skip to content

Bring README in line with the integration - #10

Merged
andreasthell merged 2 commits into
mainfrom
claude/loving-carson-jhqmhn
Sep 24, 2026
Merged

andreasthell merged 2 commits into
mainfrom
claude/loving-carson-jhqmhn

Conversation

@andreasthell

Copy link
Copy Markdown
Owner

This updates the README only; there are no code changes. The version is bumped to 1.5.4 so a release carries the new README to HACS.

Changes

  • Sensor list:
    • It now covers all 27 sensors, grouped into power and battery, revenue and prices, energy, and status, each with its unit and update interval.
    • The three event entities have their own table.
    • The hard-coded count is gone: it said 19 over an 18-row table, while the integration has 27.
  • Authentication: token lifetimes are updated (~15 min JWT, 14-day refresh token, per docs/api.md), and the section mentions that HA asks for credentials again when a login is rejected.
  • Swedish UI labels match Home Assistant, taken from the 2026.9 frontend translations: "Enheter och tjänster", "Bekräfta", "Otillgänglig" and "Aktivera felsökningsloggning".
  • Energy dashboard: rewritten for the 2026.9 energy settings (grid connection, solar production, battery system), including the optional power sensors.
    • The grid power sign (+ = import, so type Standard) is verified: in a 2026-09-23 HAR, SiteMeasurements shows SoldPower 1140 W at the same minute GridNow was −1140.
    • Battery power is left out, because its sign could not be verified (the battery was idle all day in the HAR).
  • HACS: the field is Type (Category in older HACS), and there is no "Automation" type.
  • Troubleshooting: error messages are in Swedish. The section says where warnings are logged, what debug logging adds, and how to enable it from the UI. The energy note is qualified: decreases are compared with the previous value since HA started.

I checked the README's minimum version (HA 2024.11) against the 2024.11.0 source: it has every API the integration uses. All 101 tests still pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Tt2YacbPwiWKinpfhCss29


Generated by Claude Code

- List all 27 sensors, grouped, and the three event entities; drop the
  hard-coded count ("19 st" over an 18-row table) that had drifted.
- Update token lifetimes (~15 min JWT, 14-day refresh token) and mention
  the reauth prompt.
- Use the current Swedish HA labels: "Enheter och tjänster", "Bekräfta",
  "Otillgänglig", and the 2026.9 energy settings (grid connection,
  solar production, battery system, optional power sensors). The grid
  power sign (+ = import) is verified against SiteMeasurements data.
- HACS: "Type" (Category in older HACS); there is no Automation type.
- Troubleshooting: Swedish error messages, where warnings are logged,
  what debug logging adds, and enabling it from the UI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tt2YacbPwiWKinpfhCss29
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tt2YacbPwiWKinpfhCss29
@andreasthell
andreasthell merged commit cfddf81 into main Sep 24, 2026
3 checks passed
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.

2 participants