JaccoR / hass-entso-e

Integration for Home Assistant to fetch day ahead energy prices from European countries via ENTSO-e Transparency Platform
159 stars 25 forks source link

How to display next day prices ? #102

Closed Vinisz closed 1 year ago

Vinisz commented 1 year ago

Hi,

Like the component, works great, I do have one question. My energy provider updates prices for next day at around 15:00. Is there a way to display prices for the next day once they are available ? Use case: Like to schedule over-night car charging or washing machine if prices for upcoming night are cheap.

fluppie commented 1 year ago

+1 :-)

AOskam commented 1 year ago

You can change the span of the apex chart to 48 hours if that's what you're looking for? Then you get a graph showing next day prices as well when available.

Vinisz commented 1 year ago

Sorry, forgot to come back on this topic. I have indeed that and it works great, the graph auto-updates when new prices become available just perfect. Just for sharing, I also added some colors based on thresholds, giving a perfect overview on whet energy is cheap, thanks `!

Sharing my card code for inspiration:

`type: custom:apexcharts-card graph_span: 28h experimental: color_threshold: true span: start: hour header: show: true title: Stroomprijs (€/kWh) series: