Open PalleRaa opened 2 years ago
I think this should ideally be solved in the Barry API not sending out incorrect prices before they are published, since I don't think I can trust an accurate time before showing whether prices for tomorrow are valid or not.
I could implement the tomorrow_valid attribute and flip it to true between 12:00 and 23:00 UTC, but that seems like a bit of a hack
The Nordpool integration (https://github.com/custom-components/nordpool) has an bolean attribute whether tomorrows data is valid or not. This is very helpful when trying to display future prices in a bar graph.![image](https://user-images.githubusercontent.com/95851907/149916107-7b8714b1-d5a9-4956-a973-3cd84a36041d.png)