hass.tibber_prices/custom_components/tibber_prices
Julian Pawlowski 95950f48c1 feat(services): add find_best_start and plan_charging services
Add two new service actions for intelligent device scheduling:

- find_best_start: Find optimal start time for run-once appliances
  - Considers price, optional energy estimates, optional PV power
  - Supports flexible time windows (HH:MM, ISO datetime, with/without timezone)
  - Prefers future candidates over past ones
  - Includes current interval by default (configurable)
  - Returns recommended start time with cost analysis

- plan_charging: Create optimized charging schedule for energy storage
  - Supports EV, home battery, balcony battery use cases
  - Energy target or duration-based planning
  - Split or continuous charging modes
  - Efficiency factor support
  - Includes current interval by default (configurable)
  - Returns detailed slot-by-slot charging plan

Common improvements:
- Flexible datetime parsing (ISO 8601, with/without timezone, microseconds)
- Time selector in GUI (better UX than text field)
- Currency display based on config entry settings
- Comprehensive error handling and validation
- Detailed response envelopes with warnings/errors

Impact: Users can automate appliance scheduling based on electricity
prices without external automation rules.
2026-01-20 11:47:26 +00:00
..
api fix(api): handle None values in API responses to prevent AttributeError 2025-12-13 14:02:30 +00:00
binary_sensor fix(volatility): expose price coefficient variation attribute 2025-12-25 19:10:42 +00:00
config_flow_handlers feat(config_flow): add price level gap tolerance for Tibber API level field 2025-12-22 20:25:30 +00:00
coordinator fix(sensor): synchronize current_interval_price_base with current_interval_price 2025-12-26 16:23:05 +00:00
custom_translations feat(sensor): convert timing sensors to hour-based display with minute attributes 2025-12-26 16:03:00 +00:00
entity_utils fix(sensor): synchronize current_interval_price_base with current_interval_price 2025-12-26 16:23:05 +00:00
interval_pool fix(coordinator): track API calls separately from cached data usage 2025-12-25 18:53:29 +00:00
sensor fix(sensor): synchronize current_interval_price_base with current_interval_price 2025-12-26 16:23:05 +00:00
services feat(services): add find_best_start and plan_charging services 2026-01-20 11:47:26 +00:00
translations feat(services): add find_best_start and plan_charging services 2026-01-20 11:47:26 +00:00
utils feat(utils): add coefficient of variation (CV) calculation 2025-12-22 23:21:38 +00:00
__init__.py refactor(interval_pool): improve reliability and test coverage 2025-12-23 10:10:35 +00:00
config_flow.py feat(config_flow): add price level gap tolerance for Tibber API level field 2025-12-22 20:25:30 +00:00
const.py feat(config_flow): add price level gap tolerance for Tibber API level field 2025-12-22 20:25:30 +00:00
data.py feat(interval-pool): add intelligent interval caching and memory optimization 2025-11-25 20:44:39 +00:00
diagnostics.py refactor(lifecycle): integrate with Pool for sensor metrics 2025-12-23 14:13:34 +00:00
entity.py fix(api): handle None values in API responses to prevent AttributeError 2025-12-13 14:02:30 +00:00
icons.json feat(services): add find_best_start and plan_charging services 2026-01-20 11:47:26 +00:00
manifest.json chore(release): bump version to 0.25.0b0 2025-12-25 22:48:07 +00:00
services.yaml feat(services): add find_best_start and plan_charging services 2026-01-20 11:47:26 +00:00