Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

00:00-01:00 timestamp is missing #464

Open
anton4 opened this issue Dec 30, 2024 · 3 comments
Open

00:00-01:00 timestamp is missing #464

anton4 opened this issue Dec 30, 2024 · 3 comments

Comments

@anton4
Copy link

anton4 commented Dec 30, 2024

Version of the custom_component

0.0.17

Homeassistant version

2024.12.5

Configuration

Default, not config related

Describe the bug

Last hour (00:00-01:00) is missing from the list, but it exists at nordpool website.
Untitled design (2)

Debug log

2024-12-30 08:35:19.605 DEBUG (MainThread) [custom_components.nordpool.sensor] Dumping config mappingproxy({'VAT': False, 'additional_costs': '{{0.0|float}}', 'currency': 'EUR', 'low_price_cutoff': 1.0, 'precision': 3, 'price_in_cents': False, 'price_type': 'kWh', 'region': 'EE'})
2024-12-30 08:35:19.605 DEBUG (MainThread) [custom_components.nordpool.sensor] timezone set in ha 'Europe/Tallinn'
2024-12-30 08:35:19.605 DEBUG (MainThread) [custom_components.nordpool.sensor] Template {{0.0|float}}
2024-12-30 08:35:19.605 DEBUG (MainThread) [custom_components.nordpool.sensor] called async_added_to_hass nordpool_kwh_ee_eur_3_10_0
2024-12-30 08:35:19.606 DEBUG (MainThread) [custom_components.nordpool.sensor] handle_new_hr
2024-12-30 08:35:19.606 DEBUG (MainThread) [custom_components.nordpool] Updating today's prices.
2024-12-30 08:35:19.606 DEBUG (MainThread) [custom_components.nordpool] calling _update today None ['EE']
2024-12-30 08:35:19.760 DEBUG (MainThread) [custom_components.nordpool.aio_price] requested https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?currency=EUR&market=DayAhead&deliveryArea=EE&date=2024-12-30 {'currency': 'EUR', 'market': 'DayAhead', 'deliveryArea': 'EE', 'date': '2024-12-30'}
2024-12-30 08:35:19.763 DEBUG (MainThread) [custom_components.nordpool.aio_price] requested https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?currency=EUR&market=DayAhead&deliveryArea=EE&date=2024-12-29 {'currency': 'EUR', 'market': 'DayAhead', 'deliveryArea': 'EE', 'date': '2024-12-29'}
2024-12-30 08:35:19.773 DEBUG (MainThread) [custom_components.nordpool.aio_price] requested https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?currency=EUR&market=DayAhead&deliveryArea=EE&date=2024-12-31 {'currency': 'EUR', 'market': 'DayAhead', 'deliveryArea': 'EE', 'date': '2024-12-31'}
2024-12-30 08:35:19.790 DEBUG (MainThread) [custom_components.nordpool] Updating tomorrows prices.
2024-12-30 08:35:19.790 DEBUG (MainThread) [custom_components.nordpool] calling _update tomorrow 2024-12-31 08:35:19.790505+02:00 ['EE']
2024-12-30 08:35:19.827 DEBUG (MainThread) [custom_components.nordpool.aio_price] requested https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?currency=EUR&market=DayAhead&deliveryArea=EE&date=2024-12-29 {'currency': 'EUR', 'market': 'DayAhead', 'deliveryArea': 'EE', 'date': '2024-12-29'}
2024-12-30 08:35:19.829 DEBUG (MainThread) [custom_components.nordpool.aio_price] requested https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?currency=EUR&market=DayAhead&deliveryArea=EE&date=2024-12-30 {'currency': 'EUR', 'market': 'DayAhead', 'deliveryArea': 'EE', 'date': '2024-12-30'}
2024-12-30 08:35:19.837 DEBUG (MainThread) [custom_components.nordpool.aio_price] requested https://dataportal-api.nordpoolgroup.com/api/DayAheadPrices?currency=EUR&market=DayAhead&deliveryArea=EE&date=2024-12-31 {'currency': 'EUR', 'market': 'DayAhead', 'deliveryArea': 'EE', 'date': '2024-12-31'}
2024-12-30 08:35:19.854 DEBUG (MainThread) [custom_components.nordpool.sensor] handle_new_hr
2024-12-30 08:35:19.854 DEBUG (MainThread) [custom_components.nordpool.sensor] Updated nordpool_kwh_ee_eur_3_10_0 _current_price 25.07
2024-12-30 08:35:19.854 DEBUG (MainThread) [custom_components.nordpool.sensor] handle_new_hr
2024-12-30 08:35:19.856 DEBUG (MainThread) [custom_components.nordpool.sensor] Updated nordpool_kwh_ee_eur_3_10_0 _current_price 25.07
2024-12-30 08:35:19.858 DEBUG (MainThread) [custom_components.nordpool.sensor] Updated nordpool_kwh_ee_eur_3_10_0 _current_price 25.07

@Hellowlol
Copy link
Collaborator

Historically the webpage has always provided the hours for CET regardless of what date and zone you request.

@anton4
Copy link
Author

anton4 commented Jan 1, 2025

Shouldn't be the case as the hours & prices match exactly between nordpool website and this integration, only the last one (00:00-01:00) is missing.
I also checked HA ENTSO-e integration and it shows price for 00:00-01:00

@Hellowlol
Copy link
Collaborator

Note to self. Need to check this later https://developers.nordpoolgroup.com/reference/dst-handling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants