hass.tibber_prices/custom_components/tibber_prices/translations
Julian Pawlowski b7f1efce1f feat(best_price,peak_price): add optional extension to VERY_CHEAP/VERY_EXPENSIVE intervals
After period detection, optionally walk left/right from each period boundary
to absorb adjacent VERY_CHEAP (best price) or VERY_EXPENSIVE (peak price)
intervals (step 7.5 in the pipeline).

New constants: CONF_BEST_PRICE_EXTEND_TO_VERY_CHEAP, CONF_BEST_PRICE_MAX_EXTENSION_INTERVALS,
CONF_PEAK_PRICE_EXTEND_TO_VERY_EXPENSIVE, CONF_PEAK_PRICE_MAX_EXTENSION_INTERVALS.
Defaults: off / 4 intervals (1 hour per side). Hard maximum: 12 intervals (3 hours).

Config stored under "extension_settings" section, reflected in period hash
for correct cache invalidation.

New module: coordinator/period_handlers/shape_extension.py handles the
boundary walk, stat recalculation, and extension_intervals_added bookkeeping.

Impact: Users can opt-in to wider best/peak price windows that include
extreme-level adjacent intervals, reducing missed very cheap/expensive slots
at period edges.
2026-04-11 21:24:44 +00:00
..
de.json feat(best_price,peak_price): add optional extension to VERY_CHEAP/VERY_EXPENSIVE intervals 2026-04-11 21:24:44 +00:00
en.json feat(best_price,peak_price): add optional extension to VERY_CHEAP/VERY_EXPENSIVE intervals 2026-04-11 21:24:44 +00:00
nb.json feat(best_price,peak_price): add optional extension to VERY_CHEAP/VERY_EXPENSIVE intervals 2026-04-11 21:24:44 +00:00
nl.json feat(best_price,peak_price): add optional extension to VERY_CHEAP/VERY_EXPENSIVE intervals 2026-04-11 21:24:44 +00:00
sv.json feat(best_price,peak_price): add optional extension to VERY_CHEAP/VERY_EXPENSIVE intervals 2026-04-11 21:24:44 +00:00