[0.4.0-beta]
Added
- Time Windows Engine: advanced data engine enable new way that data can handle to dispaly: use
time_windowin YAML to customize (preset merge, validation, LTS constraints).
– NewMonth Over Monthcomparison preset. - Luxon dependency for resolving anchored time ranges and window calculations.
- Inteligent Aggregation & X-axis: optional card-level
x_axis_format(Luxon subset, validated at config time); automatichour/day/week/monthselection from mergeddurationwhenaggregationis omitted (~20–100 slot target). - Inteligent X-axis labeling: adaptive Intl-based X labels (HA time zone; first tick is always a boundary); label locale cascade (
language→ HA →en); horizontal X labels with overlap hiding. - Tooltip header: aggregation-aligned default formatting (no redundant year in comparisons; hour + multi-day window gets date disambiguation); optional card-level
tooltip_format(Luxon subset, same validation asx_axis_format).
– README_advanced.md: advanced documentation
– changelog.md: release log
Changed
- Clarified
comparison_presetsemantics in docs (year_over_year,month_over_year,month_over_month, including “month over month” meaning two consecutive full calendar months). - Forecast default behavior and configuration (
show_forecast, aliasforecast).
– Github Wiki: rewitten source of knowledge abour card dedicated more advanced users https://github.com/hello-sebastian/Energy-Horizon/wiki
Fixed
- ECharts renderer refactors (series layering and legend ordering).
– 5000 max timeline slots per series with localized error and optionaldebugconsole details. - Auto-aggregation for one-hour (or shorter) windows now selects
hourfor LTS instead of incorrectly preferringmonth, which could yield empty or wrong charts for hourlytime_windowconfigs. - Summary period labels for custom
time_window(non-legacy multi-window YAML) now show each window’s date range instead of only the calendar year from the defaultyear_over_yearpreset. - LTS anchors:
start_of_dayandstart_of_weekare allowed (start_of_weekaligns to Monday / Luxon ISO week, same asstartOf("week")).
Full Changelog: 0.3.2-beta...0.4.0-beta