Energy Management in Home Assistant

An easy way to add feed in Energy Dashboard:

Go to Configuration > Entity: Select wich entity you want to add in Energy Dashboard
Customize the entity with:
state_class : measurement
device_class : energy
Other :
Attribute name = last_reset
Attribute Value = 1970-01-01T00:00:00+00:00

Check that the entity “Unit of measurement” is kWh.

Save
Return to Configuration> Energy and now you should find your feed in the list.

It’s same as append that in customize.yaml:
Example :

sensor.emoncms_energie_injectee:
  friendly_name: Energie Injectée
  state_class: measurement
  device_class: energy
  icon: mdi:home-export-outline
  unit_of_measurement: kWh
  last_reset: '1970-01-01T00:00:00+00:00'
9 Likes