Skip to content

v1.2.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 22 Nov 09:07
· 37 commits to main since this release
2b38669

Highlights

  • Test my automation: one switch publishes each BattMind action in turn and shows which ones your battery actually follows
  • Plan check: BattMind now measures whether the battery did what the action asked, hour by hour, and raises a repair when it clearly doesn't
  • Health repairs: repairs for disabled or missing sensors, sensor units BattMind can't read, and a switched-off blueprint automation
  • New inverter pages: SolarEdge, Deye and Sofar

⚠️ Before you update

  • Blueprint update: the bundled blueprint now also accepts EV charger power sensors in kW (e.g. Easee) and ramping chargers; Car started charging and Car stopped charging now trigger only when the power crosses the EV threshold. If you want this, update the blueprint when Home Assistant offers it. Your own automation is never changed.
  • Repairs: you may see new repairs after the update (disabled/missing sensors, unreadable units, a blueprint automation that is off, or a battery that does not follow the plan). They only inform; none of them controls anything. Check the details they list. A repair you ignore stays hidden until the problem is gone.
  • Plan check after turning on your automation: hours from before the automation was on count as mismatches for 14 days. Look at latest_mismatches and the hours since you turned it on.
  • Test my automation moves the battery: it charges the battery from the grid and discharges it to the grid for a few minutes, and the energy counts in that hour's history. Run it only when that is fine for you.

✨ New

  • Test my automation: turn on Test my automation under Settings on the dashboard (switch.<prefix>_automation_test_run). BattMind publishes the actions on sensor.<prefix>_powerwall_action one after the other, measures what the battery does and shows a table of results (sensor.<prefix>_automation_test, attribute markdown). Each action is marked ✅ worked, ❌ the battery did not react or 🔧 not tested, with the reason. Turning the switch off stops the test and BattMind's own action is published again. The result of the last finished test is kept over a restart.
  • Plan check: the attribute plan_check of sensor.<prefix>_powerwall_action shows, for the last 14 days, how many hours were judged, matched or skipped (checked_hours, matching_hours, skipped_hours, match_percent) and the three latest mismatches (latest_mismatches). It only observes: it never sends a command or changes the plan. Hours that can't prove anything (battery at a limit, missing data, an action that changed, a test, a car charging) are skipped.
  • Repairs (Settings → System → Repairs):
    • Sensors BattMind uses are disabled or missing
    • Sensor units BattMind can't read: power sensors must be in mW, W, kW, MW or GW, the battery level in %
    • The automation made from the BattMind blueprint is off: only after BattMind has seen it on
    • The battery does not follow the plan: raised when at least 24 hours were judged, at least 6 did not match and fewer than 80 % matched
  • Inverter pages: SolarEdge, Deye hybrid (Solarman) and Sofar hybrid (Solarman). They are checked against the integrations' source code, not tested on an inverter, so try each action by hand first.

🔧 Improvements

  • Blueprint EV detection: EV chargers power sensors can report in W or kW, and the blueprint reacts only when the power goes above the threshold, so a charger that steps up or wobbles while charging counts as one start.
  • Removal: removing the integration now also removes its health-check data and its repairs.
  • Texts and translations (Danish, German, English, Polish, Ukrainian) were added for the new features.

🐛 Fixes

  • An EV charger whose power sensor reports in kW was not detected as charging by the blueprint.

What's Changed

  • Add workflow to delete beta releases with optional dry run and tag deletion by @dezito in #132
  • Add Stromligning price comparison dashboard and update inverter documentation by @dezito in #133
  • Add comprehensive tests for plan check functionality by @dezito in #134
  • Enhance automation test logic with multilingual skip reasons by @dezito in #135
  • Fix EV charging detection and improve code structure by @dezito in #137

Full Changelog: v1.1.0...v1.2.0-beta.1