#Automation Energy Price

1 messages · Page 1 of 1 (latest)

hardy mantle
#

Hello HA Community!

So I'm new here, and also to HA. I look forward to follow all your projects and hopefully I can learn something along the way 🙂
I'm not sure if my problem counts as an automation or something else, sorry in advance for posting in the wrong channel...

So there is a thing I'm playing around with, and maybe you guys can help me.

So I added the integration from 'Nord Pool' to be able to do automations depending of the current electric price.
Also I added a 'Statistics-Diagram Card' on my dashboard, with 7-days resolution, to the 'Current Price' entity.
This worked like a charm, I'm now able to see in the graph how the price has changed during the week.

Onto my problem...
The 'Nord Pool' Integration have an action called 'Get Price For Date', where it returns the energy price in YAML-format, see below.
I would like to pass this data into somewhat similar graph, to be able to see how the price is supposed be for tomorrow.
The data need to be updated every evening, since tomorrows prices won't be published until afternoon.

Is this possible to do? I will happily provide more information if there is something crucial I left out.

Thanks in advance!

BR Johan

Example of YAML-Code 'Nord Pool'-Action returns:

SE3:

  • start: "2026-01-21T23:00:00+00:00"
    end: "2026-01-21T23:15:00+00:00"
    price: 933.96
  • start: "2026-01-21T23:15:00+00:00"
    end: "2026-01-21T23:30:00+00:00"
    price: 919.24
  • start: "2026-01-21T23:30:00+00:00"
    end: "2026-01-21T23:45:00+00:00"
    price: 906.65

.
.
.
.

  • start: "2026-01-22T22:15:00+00:00"
    end: "2026-01-22T22:30:00+00:00"
    price: 1002.34
    • start: "2026-01-22T22:30:00+00:00"
      end: "2026-01-22T22:45:00+00:00"
      price: 983.03
    • start: "2026-01-22T22:45:00+00:00"
      end: "2026-01-22T23:00:00+00:00"
      price: 928.94
agile tide
#

There are no charts in HA that can chart anything but historical sensor data.
If you want something like a future chart that you'd need a custom card, something like apexchart maybe.

hardy mantle
#

Alright!
And there is no way to make a custom sensor and use the returned data from 'Nord Pool' as historical data?

Whats the best way to evaluate the returned data?
So I have some basic understanding of C#.
YAML and Jinja... Syntax is no where close to C#, so I have some headache from that.

For example, just an example right.
Lets say I want to loop through the code and look for all the prices and sum them up.
And then I would like to present this sum on my dashboard, how would you do that, using scripts and transfer the value to a helper?

Thanks for answering by the way! As you can tell I'm still getting used to this environment 🙂

spring kettle
#

Is dynamic energy monitor something you are looking for?

obsidian harbor
#

Many people use Apex Charts to visualise energy prizes of the current/next day