mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-05-28 18:43:40 +00:00
async_create_issue preserves dismissed_version when called with the same issue_id. This means that if a user had previously dismissed the repair issue, changing the currency mode again would set the flag but the issue would stay hidden (because it still has a dismissed_version). Fix: use delete + create in the options flow when mode_changed=True. This resets dismissed_version so the new instance is always visible. The __init__.py path (HA restart with flag set) continues to use plain async_create_issue so that a restart alone does not un-dismiss an issue the user already acknowledged. Released-Bug: no |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| entity_check.py | ||
| options_flow.py | ||
| schemas.py | ||
| subentry_flow.py | ||
| user_flow.py | ||
| validators.py | ||