hass.tibber_prices/custom_components/tibber_prices/sensor
Julian Pawlowski 7629c0f628 refactor(repairs): simplify currency mode change notification to one-shot
Remove the DATA_STATISTICS_REVIEW_REQUIRED flag and all associated
persistence logic. The flag approach was over-engineered: we cannot
detect whether the Recorder statistics have been fixed, and requiring
the user to re-save display settings as acknowledgement is bad UX.

New design: show the repair notice once when the mode changes.
The user dismisses it when done reviewing. The HA Recorder will
independently show its own unit-change dialog — that is sufficient.

Changes:
- Remove DATA_STATISTICS_REVIEW_REQUIRED constant from const.py
- Remove _check_statistics_review_repair() from __init__.py
- Remove ir import from __init__.py (no longer needed there)
- Remove flag set/clear logic from options_flow.py
- Change is_persistent=False (no restart persistence needed)
- Update all 5 translations: restore simple "Dismiss this notice" ending
2026-04-15 10:00:59 +00:00
..
attributes refactor(repairs): simplify currency mode change notification to one-shot 2026-04-15 10:00:59 +00:00
calculators refactor(repairs): simplify currency mode change notification to one-shot 2026-04-15 10:00:59 +00:00
__init__.py fix(services): use injected now in resolve_search_range day offset 2026-04-14 19:33:24 +00:00
chart_data.py feat(sensors): add chart_metadata sensor for lightweight chart configuration 2025-12-05 20:30:54 +00:00
chart_metadata.py fix: support main and subunit currency 2025-12-11 23:07:06 +00:00
core.py feat(sensor): use dynamic precision for price rounding and display 2026-04-14 19:28:19 +00:00
definitions.py refactor(repairs): simplify currency mode change notification to one-shot 2026-04-15 10:00:59 +00:00
helpers.py feat(sensor): use dynamic precision for price rounding and display 2026-04-14 19:28:19 +00:00
types.py feat(types): add TypedDict documentation and BaseCalculator helpers 2025-11-22 14:32:24 +00:00
value_getters.py refactor(repairs): simplify currency mode change notification to one-shot 2026-04-15 10:00:59 +00:00