Hi! This night we changed DST and I examined the output of the schedule from a Schedule Merger Node I have set up. I compared it with what was sent to the node and what was coming from Tibber. I found that there is a price element missing after the Schedule Merger Node, due to DST change.
Output from Tibber Query node (price array snippet):
Input to Merge node from Fixed Schedule Node:
Input to Merge node from own Hours array:
And output from Schedule Merger Node after merge. If you compare the input/output above you can see that after the Schedule Merger Node the MTU with UTC time 24:00 (midnight) and price 0.4958 is missing:
Here is what I was expecting:
UTC 23:00 -> 2023-10-29T01:00:00.000+02:00 with price 0.523
UTC 24:00 -> 2023-10-29T02:00:00.000+02:00 with price 0.4958
UTC 01:00 -> 2023-10-29T02:00:00.000+01:00 with price 0.4518
Could it be a bug in the Power Saver DST handling?
Hi! This night we changed DST and I examined the output of the schedule from a Schedule Merger Node I have set up. I compared it with what was sent to the node and what was coming from Tibber. I found that there is a price element missing after the Schedule Merger Node, due to DST change.
Output from Tibber Query node (price array snippet):![Skärmavbild 2023-10-29 kl 15 10 03](https://github.com/ottopaulsen/node-red-contrib-power-saver/assets/45487297/72c89a53-00d0-43e3-97c9-c5c11bdb1b85)
Input to Merge node from Fixed Schedule Node:![Skärmavbild 2023-10-29 kl 15 15 20](https://github.com/ottopaulsen/node-red-contrib-power-saver/assets/45487297/33eb28ff-6872-4158-aa1f-bf99a7c77fe4)
Input to Merge node from own Hours array:![Skärmavbild 2023-10-29 kl 15 18 06](https://github.com/ottopaulsen/node-red-contrib-power-saver/assets/45487297/0bee4d96-55ff-4415-9310-b5fec4ac2b3f)
And output from Schedule Merger Node after merge. If you compare the input/output above you can see that after the Schedule Merger Node the MTU with UTC time 24:00 (midnight) and price 0.4958 is missing:![Skärmavbild 2023-10-29 kl 15 06 18](https://github.com/ottopaulsen/node-red-contrib-power-saver/assets/45487297/45843209-2d80-4851-824b-6180ad38e16d)
Here is what I was expecting:
Could it be a bug in the Power Saver DST handling?