hass.tibber_prices/custom_components/tibber_prices/services
Julian Pawlowski 9b34d416bc feat(services): add debug_clear_tomorrow for testing refresh cycle
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.
2025-12-23 14:13:51 +00:00
..
__init__.py feat(services): add debug_clear_tomorrow for testing refresh cycle 2025-12-23 14:13:51 +00:00
debug_clear_tomorrow.py feat(services): add debug_clear_tomorrow for testing refresh cycle 2025-12-23 14:13:51 +00:00
formatters.py fix: support main and subunit currency 2025-12-11 23:07:06 +00:00
get_apexcharts_yaml.py fix(apexcharts): synchronize y-axis tick intervals for consistent grid alignment 2025-12-21 17:39:12 +00:00
get_chartdata.py fix(chartdata): use proportional padding for yaxis bounds 2025-12-22 23:39:35 +00:00
get_price.py refactor(services): rename service modules to match service names 2025-11-25 20:44:39 +00:00
helpers.py feat(services): add rolling 48h window support to chart services 2025-12-01 23:46:09 +00:00
refresh_user_data.py refactor(services): split monolithic services.py into package 2025-11-18 20:07:05 +00:00