mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-07-27 17:26:48 +00:00
Add a track_degraded parameter to IntervalPool.get_intervals so service calls (track_degraded=False) never flip the coordinator's sensor-health flags or use the covers-current-interval cache fallback; authentication errors still propagate. All price-fetching services now go through async_fetch_service_intervals and return a structured response with a top-level success flag: success=false with reason="price_data_unavailable" on a real API outage, and success=true (possibly empty) otherwise. Impact: Action calls (get_price, find_cheapest_*, plan_charging) always return the expected shape, never impair sensors during a Tibber outage, and let automations distinguish an outage from "no data yet". |
||
|---|---|---|
| .. | ||
| charging | ||
| __init__.py | ||
| debug_clear_tomorrow.py | ||
| entity_resolver.py | ||
| find_cheapest_block.py | ||
| find_cheapest_hours.py | ||
| find_cheapest_schedule.py | ||
| find_most_expensive_block.py | ||
| find_most_expensive_hours.py | ||
| formatters.py | ||
| get_apexcharts_yaml.py | ||
| get_chartdata.py | ||
| get_price.py | ||
| helpers.py | ||
| plan_charging.py | ||
| refresh_user_data.py | ||
| relaxation.py | ||