Utility Meter Helper – Change Units from kWhd to kWh for Dashboard

I am using a helper (Rieman integration left) to sum my heatpump energy consumption. The heatpump sends a 24h value once a day over modbus and I am using the helper to sum it. The problem is that the helper unit is in kWhd and the Energy dashboard does not accept that as a valid kWh counter, even though the value is. Any way I can change the unit?

Do this in configuration.yaml to override the default unit of measure for the utility meter.

homeassistant:
  customize:
    sensor.well_water_usage:
      unit_of_measurement: G

Thanks, I made the change. I was not able to add it to the Energy dashboard yet so I suspect the system needs to wait 24h for a new value.

You’ll need to restart HA. You may need to go into developer tools / statistics and perform a repair to update the units of the historical data.

1 Like

This, almost certainly.

A message in β€œrepair” asked if I wanted to update old values and a β€œyes” did the trick. It is now in the Energy dashboard :slight_smile:

1 Like