hass.tibber_prices/custom_components/tibber_prices/binary_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
..
__init__.py fix(imports): update imports after utils package reorganization 2025-11-18 20:07:28 +00:00
attributes.py refactor(repairs): simplify currency mode change notification to one-shot 2026-04-15 10:00:59 +00:00
core.py refactor(repairs): simplify currency mode change notification to one-shot 2026-04-15 10:00:59 +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): rename periods_remaining to period_count_remaining 2026-04-12 10:05:21 +00:00