Skip to content

Battery Direction Fix, Multiple Battery Suppor

Choose a tag to compare

@smcneece smcneece released this 29 May 00:54
· 15 commits to main since this release

Release Date: May 28, 2026
Type: Bug fix release


Bug Fixes

Battery charge/discharge direction incorrect: Solar Sentinel's direction logic had the sign convention backwards. HA Standard is positive = discharging, negative = charging. Our code had those labels swapped, so all users with a battery power sensor configured in the Energy Dashboard would see charging reported as discharging and vice versa. This is now correct.

Battery chart tab buttons unstyled: The Today/Week/Month/Year buttons in the battery panel were appearing as plain browser default buttons instead of matching the rest of the UI.


What's New

Improved Battery Power Direction Detection

Battery discovery now reads HA's Energy Dashboard power configuration directly:

  • Standard config: positive values are treated as discharging, negative as charging, matching HA's documented convention.
  • HA "Inverted" power sensor config: if your battery power sensor is set to "Inverted" in the Energy Dashboard (Settings > Dashboards > Energy, pencil on battery system), Solar Sentinel reads that flag and flips the sign automatically. This covers CT clamp setups where the sensor was physically installed backwards.
  • Manual override: a new "Invert battery power direction" toggle in Settings is available as a fallback for any integration where charging still shows as discharging after updating.

Multiple Battery Support

If you have more than one battery system configured in the HA Energy Dashboard, Solar Sentinel now shows all of them. A row of selector buttons appears at the top of the battery panel, one per battery, letting you switch between them. Batteries are sorted alphabetically by name. The battery chart switches to the selected battery automatically. Users with a single battery see no change.


No settings migration needed. Update in place via the App Store and refresh the page.

See CHANGELOG.md for the full version history.