hass.tibber_prices/custom_components/tibber_prices/config_flow_handlers
Julian Pawlowski b6f5f1678f feat(services): add fetch_price_info_range service and update schema
Added new service for fetching historical/future price data:
- fetch_price_info_range: Query prices for arbitrary date ranges
- Supports start_time and end_time parameters
- Returns structured price data via service response
- Uses interval pool for efficient data retrieval

Service definition:
- services.yaml: Added fetch_price_info_range with date selectors
- services/__init__.py: Implemented handler with validation
- Response format: {"priceInfo": [...], "currency": "..."}

Schema updates:
- config_flow_handlers/schemas.py: Convert days slider to IntSelector
  (was NumberSelector with float, caused "2.0 Tage" display issue)

Impact: Users can fetch price data for custom date ranges programmatically.
Config flow displays clean integer values for day offsets.
2025-11-25 20:44:39 +00:00
..
__init__.py refactor(naming): complete class naming convention alignment 2025-11-20 11:22:53 +00:00
options_flow.py refactor(config): use negative values for Best Price min_distance 2025-11-22 04:44:57 +00:00
schemas.py feat(services): add fetch_price_info_range service and update schema 2025-11-25 20:44:39 +00:00
subentry_flow.py feat(i18n): localize time offset descriptions and config flow strings 2025-11-25 20:44:39 +00:00
user_flow.py feat(i18n): localize time offset descriptions and config flow strings 2025-11-25 20:44:39 +00:00
validators.py refactor(config): use negative values for Best Price min_distance 2025-11-22 04:44:57 +00:00