Repository navigation
v2.3.8 - Solar Sub-Arrays Editor Restored
What was wrong
The Solar Sub-Arrays option, the one for microinverters, strings and separate roof orientations, was added in v2.2.0 and disappeared from the card editor in v2.3.6 without anyone noticing. The card itself still drew per-array sub-tiles the whole time, so a config written by hand worked, but the editor had lost the toggle, the four array slots and the code that loaded and saved them.
What changed
- Editor restored. Under Solar Panels you get "Show Sub-Arrays (Microinverters / Strings)" and an expandable "Solar Sub-Arrays (Roof, Garage, Balcony)" with four arrays, each with a name, a live power sensor and an optional energy-today sensor. Same fields and behaviour as v2.3.3.
- Loading and saving work again. Arrays are read out of
solar_sourceswhen the editor opens and rebuilt when you save. Entries beyond slot four, which a YAML config can carry, are preserved. Clearing every slot removes the key. - Everything added since v2.3.3 is untouched: daily peak sensor, financial placement, spot tariff, export compensation, fixed tariff and currency.
Also in this release
- The dev-lab and production files now register separate custom element tags. Before this, both files claimed every tag, so whichever one Home Assistant loaded first won and the dev-lab dashboard silently ran production code.
tools/make-dev-build.shbuilds the dev copy with a module-scoped flag so it claims only the dev tags, andAresEnergyFlowCard.BUILDreports which build a page is running. - Guard rails for that split:
scripts/check-tags.mjs,scripts/deploy-dev.ps1,scripts/deploy-prod.ps1,scripts/check-lanes.ps1,scripts/adopt-deployed.ps1, a pre-commit hook and a CI guard job, documented inAGENTS.mdandWORKFLOW.md.
Upgrading
Nothing to change in your YAML. If you already had solar_sources set by hand, the editor now shows it again. If you want to add arrays, open the card editor, tick "Show Sub-Arrays", fill in the slots and save.