Has anybody made a script for finding the cheapest electricity hours?

With the different ways to fetch prices about electricity available, it would awesome to have a sort of predictive service.
So when we get a sensor with prices like this:


It would be great to have a trigger or something that takes price now and next hour or now and next two hours.
This could start your dishwasher or something like that when the rates are lowest.
It would also be nice to have a script that shows when in the next low price period will happen.

But I can’t figure out how a HA script could do that?

Search for “Nordpool” in the forum and you will find several examples.
.

Ahh, nordpool, didn’t think about searching for that :smiley:
Thanks @Tomahawk