mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-05-28 18:43:40 +00:00
Add DATA_STATISTICS_REVIEW_REQUIRED flag to config_entry.data. Set on currency mode change, cleared on same-mode save. On every async_setup_entry with flag set, delete and recreate the repair issue so it reappears after HA restart even if previously dismissed. Repair issue text explains that HA Recorder shows its own unit-change dialog (delayed) and recommends deleting old statistic data rather than re-labeling, which would leave wrong values with the new unit. Impact: Users are notified to review statistics and automations after switching between base/subunit currency mode. Notification persists across HA restarts until acknowledged by saving display settings again. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| entity_check.py | ||
| options_flow.py | ||
| schemas.py | ||
| subentry_flow.py | ||
| user_flow.py | ||
| validators.py | ||