mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-30 05:13:40 +00:00
Implement _is_fetching flag to show "refreshing" status during API calls, and fix needs_tomorrow_data() to recognize single-home cache format. Changes: - Set _is_fetching flag before API call, reset after completion (core.py) - Fix needs_tomorrow_data() to check for "price_info" key instead of "homes" - Remove redundant "homes" check in should_update_price_data() - Improve logging: change debug to info for tomorrow data checks Lifecycle status now correctly transitions after 13:00 when tomorrow data is missing: cached → searching_tomorrow → refreshing → fresh → cached Impact: Users will see accurate lifecycle status and tomorrow's electricity prices will automatically load when available after 13:00, fixing issue since v0.14.0 where prices weren't fetched without manual HA restart. |
||
|---|---|---|
| .. | ||
| tibber_prices | ||