hass.tibber_prices/custom_components/tibber_prices/services
Julian Pawlowski d1b25e9cfe feat(services): add energy/tax fields to get_chartdata action
Add four optional parameters to the get_chartdata service:
- include_energy: Include raw energy/spot price (default: false)
- include_tax: Include tax component (default: false)
- energy_field: Custom field name (default: energy_price)
- tax_field: Custom field name (default: tax)

Custom field names allow direct compatibility with ApexCharts
and other charting tools without post-processing.

All code paths (all/segments/none insert_nulls modes) and the
last-interval handler include energy/tax when enabled.

Added translations for all 5 languages (en, de, nl, nb, sv).

Impact: Users can include price composition data in chart exports,
enabling visual breakdowns of energy cost vs. taxes in dashboards.
2026-04-09 18:27:53 +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 feat(api): add energy and tax fields to Tibber GraphQL queries 2026-04-09 18:27:21 +00:00
get_apexcharts_yaml.py feat(services): add average indicator for hourly resolution in charts 2026-01-20 16:44:18 +00:00
get_chartdata.py feat(services): add energy/tax fields to get_chartdata action 2026-04-09 18:27:53 +00:00
get_price.py fix(coordinator): track API calls separately from cached data usage 2025-12-25 18:53:29 +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