v0.2.0 #224
BrendanAnnable
announced in
Announcements
v0.2.0
#224
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
HAEO v0.2.0 Release Notes
Highlights
⚡ 5-50x Faster Optimization — The optimization engine has been significantly improved, responding much faster to forecast updates and configuration changes.
🔌 Expanded Forecast Sources — New extractors for EMHASS and Flow Power, plus improved Amber2MQTT pricing using
advanced_price_predicted.🔧 More Flexible Configuration — All configuration now supports being driven by either external entities or internal configurable entities. This allows all HAEO configuration to be driven by automations.
🎯 Grid Cost Tracking — New sensors show exactly how much you will be spending on grid imports and earning from exports, with forecasted costs across your optimization horizon.
Input entities changed from
sensortonumberHAEO's input entities (grid pricing, battery capacity, grid power limits etc.) have changed from
sensor.*tonumber.*. This allows users to adjust these values directly in the UI.Migration: Update any automations, dashboards, or templates that reference HAEO input entities to use the new
number.prefix instead ofsensor..e.g.
sensor.grid_export_price->number.grid_export_priceUser-Facing Changes
This release adds grid cost tracking with three new sensors (
grid_cost_import,grid_cost_export,grid_cost_net) that show cumulative energy costs with forecasted values across your optimization horizon.We've expanded forecast source support with new extractors for EMHASS and Flow Power, plus improved Amber2MQTT pricing using the
advanced_price_predictedattribute.Configuration is now more flexible with entity-first flows that let you select sensors directly rather than choosing between modes. You can also control which entities HAEO manages versus which come from external sources. Optional configuration entities now always appear in the UI (disabled when not configured) for better discoverability.
Several bug fixes improve reliability, particularly around entity data loading race conditions during startup.
Developer-Facing Changes
The optimization layer has been completely refactored to a declarative architecture using
TrackedParamdescriptors and@constraint/@costdecorators. This enables warm start support by the linear optimizer HiGHS, where only changed constraints are rebuilt between optimization cycles, resulting in 5-50x faster optimization depending on what parameters changed.A new BatteryBalanceConnection model element enables lossless energy redistribution between battery sections. Battery fill ordering now uses explicit balance connection constraints instead of cost-based hints, providing guaranteed ordering behavior.
The schema system has been simplified, moving from a reflection-based registry to individual
schema.pyfiles per element type withAnnotatedfield defaults. Config data creation and device registration patterns have been unified across all element types.Testing infrastructure has improved with network topology visualization for scenario tests, deterministic graph rendering, and the ability to use constant values in scenarios instead of requiring entity mocks.
Contributors
Thanks to our contributors for this release:
Full Changelog
What's Changed
New Contributors
Full Changelog: https://github.com/TrentHouliston/haeo/compare/v0.1.0...v0.2.0
This discussion was created from the release v0.2.0.
Beta Was this translation helpful? Give feedback.
All reactions