hass.tibber_prices/custom_components/tibber_prices/services
Julian Pawlowski 729bf307ca refactor(services): enhance validation for service parameters and error messages
Improved validation logic for service parameters in find_cheapest_hours, find_cheapest_schedule, and chartdata services. Added checks for unique task names, ensured that segment durations do not exceed total duration, and clarified error messages for better user understanding.

Impact: Users will receive clearer error messages and improved validation when using the services, leading to a more robust experience.
2026-04-13 12:02:19 +00:00
..
__init__.py feat(services): add 5 scheduling services for price-optimized time windows 2026-04-11 18:58:27 +00:00
debug_clear_tomorrow.py feat(services): add debug_clear_tomorrow for testing refresh cycle 2025-12-23 14:13:51 +00:00
find_cheapest_block.py feat(services): add reason codes and schedule comparison details to find services 2026-04-12 12:47:11 +00:00
find_cheapest_hours.py refactor(services): enhance validation for service parameters and error messages 2026-04-13 12:02:19 +00:00
find_cheapest_schedule.py refactor(services): enhance validation for service parameters and error messages 2026-04-13 12:02:19 +00:00
find_most_expensive_block.py feat(services): add 5 scheduling services for price-optimized time windows 2026-04-11 18:58:27 +00:00
find_most_expensive_hours.py feat(services): add 5 scheduling services for price-optimized time windows 2026-04-11 18:58:27 +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 5 scheduling services for price-optimized time windows 2026-04-11 18:58:27 +00:00
get_chartdata.py refactor(services): enhance validation for service parameters and error messages 2026-04-13 12:02:19 +00:00
get_price.py feat(services): add 5 scheduling services for price-optimized time windows 2026-04-11 18:58:27 +00:00
helpers.py refactor(services): enhance validation for service parameters and error messages 2026-04-13 12:02:19 +00:00
refresh_user_data.py feat(services): add 5 scheduling services for price-optimized time windows 2026-04-11 18:58:27 +00:00