-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
Version of the custom_component
0.0.17
Homeassistant version
2024.12.5
Configuration
UI configDescribe the bug
Monthly and Daily service calls are calling for the same data, daily aggregates
Moothly should not return daily data
Debug log
# Truncated return-data, to long to post
2025-01-01 20:14:45.901 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Running websocket_api script
2025-01-01 20:14:45.901 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Executing step call service
2025-01-01 20:14:45.902 DEBUG (MainThread) [custom_components.nordpool.services] called daily with {'year': '2024', 'currency': 'SEK', 'area': 'SE3'}
2025-01-01 20:14:46.020 DEBUG (MainThread) [custom_components.nordpool.aio_price] requested https://dataportal-api.nordpoolgroup.com/api/AggregatePrices?currency=SEK&market=DayAhead&deliveryArea=SE3&year=2024 {'currency': 'SEK', 'market': 'DayAhead', 'deliveryArea': 'SE3', 'year': '2024'}
2025-01-01 20:14:46.041 DEBUG (MainThread) [custom_components.nordpool.services] Got value {'updatedAt': '2024-12-30T12:24:01.737009Z', 'year': 2024, 'market': 'DayAhead', 'deliveryAreas': ['SE3'], 'multiAreaDailyAggregates': [{'deliveryStart': '2024-12-31', 'deliveryEnd': '2024-12-31', 'averagePerArea': {'SE3': 186.16}, 'maxPerArea': {'SE3': 390.55}, 'minPerArea': {'SE3': 2.64}},
2025-01-01 20:14:46.044 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Stop script sequence: done
2025-01-01 20:14:53.967 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Running websocket_api script
2025-01-01 20:14:53.967 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Executing step call service
2025-01-01 20:14:53.968 DEBUG (MainThread) [custom_components.nordpool.services] called monthly with {'year': '2024', 'currency': 'SEK', 'area': 'SE3'}
2025-01-01 20:14:54.032 DEBUG (MainThread) [custom_components.nordpool.aio_price] requested https://dataportal-api.nordpoolgroup.com/api/AggregatePrices?currency=SEK&market=DayAhead&deliveryArea=SE3&year=2024 {'currency': 'SEK', 'market': 'DayAhead', 'deliveryArea': 'SE3', 'year': '2024'}
2025-01-01 20:14:54.056 DEBUG (MainThread) [custom_components.nordpool.services] Got value {'updatedAt': '2024-12-30T12:24:01.737009Z', 'year': 2024, 'market': 'DayAhead', 'deliveryAreas': ['SE3'], 'multiAreaDailyAggregates': [{'deliveryStart': '2024-12-31', 'deliveryEnd': '2024-12-31', 'averagePerArea': {'SE3': 186.16}, 'maxPerArea': {'SE3': 390.55}, 'minPerArea': {'SE3': 2.64}},
2025-01-01 20:14:54.060 INFO (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Stop script sequence: done
2025-01-01 20:14:54.297 INFO (MainThread) [homeassistant.helpers.script.trigger_update_coordinator] Trigger Update Coordinator: Running template script
2025-01-01 20:14:54.298 INFO (MainThread) [homeassistant.helpers.script.trigger_update_coordinator] Trigger Update Coordinator: Executing step setting variables
in reference to #462 (comment)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers