-
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.15Homeassistant version
2024.10.4
Configuration
Configured in UI
Describe the bug
End of DST is not handled correctly. The hour
start: 2024-10-27T02:00:00+02:00
end: 2024-10-27T02:00:00+01:00
is missing. The day in question only has 24 hours in the Nordpool sensor, while the day actually has 25 hours since the clock is turned back one hour from 3am (Daylight Saving Time) to 2am (Standard Time).
Debug log
2024-10-26 17:32:40.580 INFO (MainThread) [custom_components.nordpool.aio_price] Hour has the same start and end, most likly due to dst change {'start': datetime.datetime(2024, 10, 27, 0, 0, tzinfo=<UTC>), 'end': datetime.datetime(2024, 10, 27, 1, 0, tzinfo=<UTC>), 'value': 14.09} exluded this hour
The integration happily excludes this hour. Should be improved to accept that two days a year are 23 and 25 hours, respectively.
svenove
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers