github hello-sebastian/Energy-Horizon 0.4.0-beta

latest releases: 1.1.0-beta, 1.1.0, 1.0.2...
one month ago

[0.4.0-beta]

Added

  • Time Windows Engine: advanced data engine enable new way that data can handle to dispaly: use time_window in YAML to customize (preset merge, validation, LTS constraints).
    New Month Over Month comparison 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); automatic hour/day/week/month selection from merged duration when aggregation is 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 as x_axis_format).
    README_advanced.md: advanced documentation
    changelog.md: release log

Changed

  • Clarified comparison_preset semantics 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, alias forecast).
    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 optional debug console details.
  • Auto-aggregation for one-hour (or shorter) windows now selects hour for LTS instead of incorrectly preferring month, which could yield empty or wrong charts for hourly time_window configs.
  • 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 default year_over_year preset.
  • LTS anchors: start_of_day and start_of_week are allowed (start_of_week aligns to Monday / Luxon ISO week, same as startOf("week")).

Full Changelog: 0.3.2-beta...0.4.0-beta

Don't miss a new Energy-Horizon release

NewReleases is sending notifications on new releases.