nordpool
nordpool copied to clipboard
Show the energy cost as an line in the energy dashboard in home assistant
Is it possible to get the energy cost added to the energy dashboard as my sketch ?

I think the answer is yes because home assistant is open source, but how to do it, you should ask from HA forums.
Nordpools sensor's dosen't have the correct state_class to show up as avalible entities on Energy display. To solve this, you can make a template sensor that takes the value from Nordpool's sensor and put it in a sensor with the correct state_class.
template:
- sensor:
- name: "Timpris Nordpool"
state_class: total
device_class: energy
unit_of_measurement: "SEK/kWh"
state: "{{ states('sensor.nordpool_kwh_se3_sek_2_095_025') }}"
Just change the name and Nordpool sensor to you'r desire.
I'm not really sure that would be the correct device class. Monatary seems more correct. I'll look into how to add this to the table.