hass.tibber_prices/custom_components/tibber_prices/binary_sensor
Julian Pawlowski bbcfdd4443 fix(periods): stabilize best and peak period outputs
Recompute merged relaxed periods from raw intervals, harden numeric period option normalization, update day-volatility handling for zero or negative averages, and expose day context on period binary sensors.

Add focused regressions for overlap merges, cache invalidation, day statistics, and visible binary sensor attributes.

Impact: Best and peak period entities stay consistent on negative-price days, refresh correctly when same-day prices change, and expose the documented day context attributes.
2026-04-25 22:46:38 +00:00
..
__init__.py fix(imports): update imports after utils package reorganization 2025-11-18 20:07:28 +00:00
attributes.py fix(periods): stabilize best and peak period outputs 2026-04-25 22:46:38 +00:00
core.py refactor(attributes): streamline phase type retrieval and attribute building 2026-04-17 08:52:17 +00:00
definitions.py refactor(repairs): simplify currency mode change notification to one-shot 2026-04-15 10:00:59 +00:00
types.py fix(periods): stabilize best and peak period outputs 2026-04-25 22:46:38 +00:00