hass.tibber_prices/custom_components/tibber_prices/config_flow_handlers
Julian Pawlowski 1d065b11cd fix(services): use injected now in resolve_search_range day offset
_resolve_time_with_day_offset() was calling dt_util.now() internally
instead of using the injected now parameter. This caused incorrect date
calculations in tests and any caller that passes a specific reference time.

Also add missing price_rank_* sensor keys to TIME_SENSITIVE_ENTITY_KEYS
in coordinator/constants.py so quarter-hour refresh is registered for all
11 price rank sensors (current/next/previous interval and hour variants).

Rename dt as dt_utils → dt as dt_util (ICN001) across 11 files to follow
the project-wide import alias convention. Apply ruff auto-fixes for import
ordering and collapsing single-item imports throughout the codebase.

Released-Bug: no
2026-04-14 19:33:24 +00:00
..
__init__.py fix(services): use injected now in resolve_search_range day offset 2026-04-14 19:33:24 +00:00
entity_check.py feat(sensors)!: rename price_trend_Xh → price_outlook_Xh, add price_trajectory_Xh 2026-04-09 16:08:42 +00:00
options_flow.py feat(options): show persistent repair issue after currency mode change 2026-04-14 19:28:47 +00:00
schemas.py fix(services): use injected now in resolve_search_range day offset 2026-04-14 19:33:24 +00:00
subentry_flow.py fix(config_flow): restructure options flow to menu-based navigation and fix settings persistence 2025-12-13 13:33:31 +00:00
user_flow.py fix(services): use injected now in resolve_search_range day offset 2026-04-14 19:33:24 +00:00
validators.py feat(sensors): add 5-level price trend scale with configurable thresholds 2026-01-20 13:36:01 +00:00