Skip to content

v0.1.31

Choose a tag to compare

@mrebbert mrebbert released this 26 Apr 15:00

What's New

Optimization Sensors

5 new sensors exposing Heartbeat AI optimization decisions — see what your system's AI is doing in real time:

  • Optimization Decisions Today — count + attribute list of all decisions
  • Last Optimization Decision — e.g. BATTERY_CHARGE_FROM_GRID with asset, time range, market price, SoC
  • Cost/savings, energy bought/sold (pending API support for settlement data)

Price Statistics

  • Negative Price Slots Today — how many 15-min slots have negative prices
  • Tomorrow's Average/Lowest/Highest Price — available after ~13:00 CET when day-ahead prices are published

Long-Term Statistics

All price sensors now record hourly min/max/mean via HA's long-term statistics. View price history in the History panel.

Diagnostic Sensors

3 hidden (entity_category: diagnostic) timestamp sensors tracking the last successful API update for each coordinator.

Bug Fixes

  • Negative electricity prices now handled correctly — cost sensor reduces during negative price periods
  • API rate limiting no longer blocks integration setup — price and optimization data retry on next interval
  • Missing EMS DeviceGateway no longer prevents setup — EMS switch becomes unavailable, all other sensors work

Breaking Changes

  • device_class: monetary removed from price sensors (was incompatible with state_class: measurement in HA)