hass.tibber_prices/custom_components/tibber_prices/services
Julian Pawlowski ac7cd5b572 fix(lint): apply Python 3.14 ruff rules and update HA minimum version
Add UP037 to ruff ignore list to preserve quoted TYPE_CHECKING forward
references (PEP 649 lazy eval breaks get_type_hints() at runtime for
TYPE_CHECKING-guarded imports).

Move datetime imports into TYPE_CHECKING blocks in sensor/calculators
timing.py and trend.py (TC003, type-only usage confirmed).

Apply PEP 758 parenthesis-free except clauses across 7 files via
ruff format with target-version=py314.

Update hacs.json minimum HA version to 2026.4.0, the first HA release
requiring Python 3.14.

Impact: Linter config now correctly handles Python 3.14 semantics.
Users need HA >= 2026.4 (Python 3.14) to use this integration.
2026-04-11 10:56:34 +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 fix(lint): apply Python 3.14 ruff rules and update HA minimum version 2026-04-11 10:56:34 +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