mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-07-27 17:26:48 +00:00
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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| attributes.py | ||
| core.py | ||
| definitions.py | ||
| types.py | ||