mirror of
https://github.com/jpawlowski/hass.tibber_prices.git
synced 2026-03-29 21:03:40 +00:00
Add debug service to clear tomorrow data from interval pool, enabling testing of tomorrow data refresh cycle without waiting for next day. Service available only in DevContainer (TIBBER_PRICES_DEV=1 env var). Removes intervals from both Pool index and coordinator.data["priceInfo"] so sensors properly show "unknown" state. Changes: - Add debug_clear_tomorrow.py service handler - Register conditionally based on TIBBER_PRICES_DEV env var - Add service schema and translations - Set TIBBER_PRICES_DEV=1 in devcontainer.json Usage: Developer Tools → Services → tibber_prices.debug_clear_tomorrow Impact: Enables rapid testing of tomorrow data refresh cycle during development without waiting or restarting HA. |
||
|---|---|---|
| .. | ||
| api | ||
| binary_sensor | ||
| config_flow_handlers | ||
| coordinator | ||
| custom_translations | ||
| entity_utils | ||
| interval_pool | ||
| sensor | ||
| services | ||
| translations | ||
| utils | ||
| __init__.py | ||
| config_flow.py | ||
| const.py | ||
| data.py | ||
| diagnostics.py | ||
| entity.py | ||
| icons.json | ||
| manifest.json | ||
| services.yaml | ||