mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-07-27 17:26:48 +00:00
Track API failures over time in the repair manager and raise an api_outage repair issue once fresh data has been missing for longer than two hours, independent of the update interval. A genuine successful fetch clears it; serving cached data as a fallback keeps the outage active. Expose the degraded cache-fallback state via the connection binary sensor (using_cached_data, last_successful_update) so users can tell when sensors run on locally cached prices. Add the api_outage repair strings to all supported languages. Impact: Users get a clear repair notice during prolonged Tibber outages and can see when the integration is running on cached data. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| attributes.py | ||
| core.py | ||
| definitions.py | ||
| types.py | ||