mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-05-28 18:43:40 +00:00
The previous implementation used delete + create on every async_setup_entry, which reset dismissed_version and forced the issue to reappear after every HA restart regardless of whether the user had dismissed it. Fix: use async_create_issue (internally get-or-create, preserves dismissed_version when params are unchanged) instead of delete + create. The options flow still uses delete + create when the mode changes again, ensuring the issue is forced into view for any new change. Also auto-clear the DATA_STATISTICS_REVIEW_REQUIRED flag from config_entry.data when the issue is detected as dismissed on setup, so the flag does not linger indefinitely after the user has acknowledged the issue. Released-Bug: no |
||
|---|---|---|
| .. | ||
| tibber_prices | ||