Repository navigation
r202639: render each reference capture, and no monitoring summary while monitoring is off - #25
Merged
Merged
Conversation
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
r202639: shared-meter slots
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: falsewith 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: cleannpm run build: builds