Skip to content

v1.2.0-beta.4

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Nov 16:32
· 26 commits to main since this release
1ea46d5

Highlights

  • Energy dashboard suggestions in setup: the solar power and battery power fields are pre-filled from the Home Assistant Energy dashboard when you set up BattMind
  • Two price integrations with different intervals now work correctly together: for example an hourly Strømligning price next to a 15 minute Energi Data Service price no longer makes the first quarter of every hour look falsely cheap

⚠️ Before you update

  • Home Assistant 2025.12 or newer is now listed as the requirement (it was 2025.1).
  • Planned charging with mixed price intervals can change. If you use Strømligning and Energi Data Service together, check your charging plan after updating: the plan now follows the hourly price over the whole hour instead of picking up the other provider's quarters inside it.

✨ New

  • Energy dashboard suggestions: when you set up BattMind, the solar power and battery power fields are pre-filled from the Energy dashboard. A field is filled only when the dashboard has exactly one solar source or one battery source with a power sensor, and not when another BattMind entry already uses that sensor. They are only suggestions: you can pick another sensor, or clear the solar field (the battery power field is required). For an inverted or two-sensor battery, the battery field gets the sensor that the Energy dashboard generates for it, which disappears if the Energy configuration is changed. The battery sign is still read from the recorder, and a restored backup or a PyScript import wins over the suggestions.

🔧 Improvements

  • Different price intervals are merged on one common interval: BattMind uses the finest interval all your price integrations fit on (for example 15 minutes for hourly plus 15 minute prices). A price that covers a longer interval is repeated over every slot of it, and each slot gets the price of the first provider that has one (Strømligning before Energi Data Service, real prices before forecasts).
  • Missing prices are never filled with an earlier price: a slot a provider left out gets the next integration's price, an hour with no price at all gets its price from the price history, and otherwise it has none.
  • Charging in an hour with an hourly price: the Cheapest hours charging rule now books all periods of an hour that share the same price together, so the hour is planned as a whole.

🐛 Fixes

  • Fixed the plan seeing a falsely cheap first quarter of the hour, and planning only 15 minutes of charging per hour, when an hourly price and a 15 minute price from different integrations were combined.
  • Fixed the overview showing charging session periods with the wrong length when prices have different intervals.

What's Changed

  • Implement energy dashboard sensor suggestions and update documentation by @dezito in #141
  • Refactor price handling and interval management in BattMind by @dezito in #142

Full Changelog: v1.2.0-beta.3...v1.2.0-beta.4