Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show the energy cost as an line in the energy dashboard in home assistant #191

Open
Bach-Danielsson opened this issue Sep 7, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@Bach-Danielsson
Copy link

Is it possible to get the energy cost added to the energy dashboard as my sketch ?

cost

@raudraido
Copy link

I think the answer is yes because home assistant is open source, but how to do it, you should ask from HA forums.

@djjoakim
Copy link

djjoakim commented Oct 18, 2022

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.

@Hellowlol
Copy link
Collaborator

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.

@Hellowlol Hellowlol added the enhancement New feature or request label Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants