Repository navigation
v1.2.4
v1.2.4
Bug fixes
Grid status dot restored — green (online) / red (offline) indicator next to the grid label, reads from grid_status entity.
Fixed copyright header to match MIT license.
Tooltip time calculation corrected (was rounding to minutes, now uses fractional hours for accurate timestamps).
History loading guard: _loadHistory now checks this._h exists before proceeding.
Visual improvements
Smooth icon fade transitions (0.8 s) when power goes on/off — icons and values no longer snap instantly to dim/bright.
Flow snake lines fade in/out smoothly instead of appearing/disappearing instantly.
All flow animations synchronized — single shared speed based on the highest active power, all lines pulse in phase.
Removed animation delay staggering for cleaner coordinated flow.
Performance
Sparkline max values cached on history load — tooltips no longer recalculate Math.max(...data) on every mousemove.
downsample extracted to class method — no longer recreated as a closure on every history refresh.