Skip to content

r202639: render each reference capture, and no monitoring summary while monitoring is off - #25

Merged
cayossarian merged 7 commits into
prerelease/0.10from
fix/r202639-capture-rendering
Oct 9, 2026
Merged

cayossarian merged 7 commits into
prerelease/0.10from
fix/r202639-capture-rendering

Conversation

@cayossarian

Copy link
Copy Markdown
Member

Renders the card over the topology and entity states the integration produces for each reference capture (MAIN 32 r202633 and r202639, and r202639-a to -e), copied unchanged from the integration's test fixtures. The card must load, draw exactly the breaker positions the panel reports, keep meters outside the grid, show an unpublished battery charge as unknown, and match each capture's recorded rendering.

Also stops the card drawing "Monitoring · 0 circuits · 0 mains" when monitoring is off: the integration answers enabled: false with no points, which is no monitoring, not monitoring of nothing.

Checks:

  • npm test: 668 passed (616 before)
  • npm run typecheck, npm run lint, node scripts/validate-i18n.mjs: clean
  • npm run build: builds

The topology and entity states the integration produces for each capture are copied from its test fixtures; the card must load, draw the reported breaker positions, keep meters outside the grid, show unpublished readings as unknown, and render each capture as its snapshot records. Part of the spanos3/r202639/03 batch 2 work.
With monitoring off the integration answers enabled: false and no points, which the card drew as monitoring of 0 circuits and 0 mains.
Circuits that share a breaker space read one meter and switch with one relay. The grid draws them as one slot at that space with every member's name and rating, one power value and one toggle titled as switching the group, judges utilization against the combined rating, and the circuits' sum counts the group once. Part of the spanos3/r202639/03 batch 2 work.
A circuit reads as generation where the topology flags it, so a circuit that reports a solar role is styled as production and left out of the circuits' sum; a topology without the flag falls back to the device type. A solar tile known only by a circuit's role shows no identity line, and a site-total row is hidden while the total is unknown instead of reading 0. Part of the spanos3/r202639/03 batch 2 work.
r202639: generation from the topology flag
@cayossarian
cayossarian merged commit 4849c4b into prerelease/0.10 Oct 9, 2026
2 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.

1 participant