Skip to content

v0.1.14

Choose a tag to compare

@IhsenBouallegue IhsenBouallegue released this 04 Jun 21:30
· 7 commits to main since this release

Additive groundwork for the energy widget suite. No breaking API changes.

Added

  • fetchStatisticsDuringPeriod(): recorder/statistics_during_period wrapper with defensive column handling (HA 2023.6+) and ISO/ms time normalization
  • useEntityStatistics(): SolidJS hook mirroring useEntityHistory
  • fetchEnergyPreferences(): energy/get_prefs wrapper, returns null when no energy dashboard is configured
  • MAX_HISTORY_POINTS (5760): bulkAppendHistoryPoints now front-trims entity timelines to this cap, preventing unbounded heap growth on fast-updating power sensors