How to change State class

Hi All,

My first post and a noob about Home Assistant.
I have installed the DSMR and have the most of the data running. One thing what is not working, is the gas current usage. I get the message of missing last reset.

I allready found that i have to change the state-class from measurement to total_increase.
But when I do that, It is always returning to measurement. How can I change that?

image

1 Like

Still not found where to change the state class to total_increase.
I just get the window like I posted. No other changes possible.

configuration.yaml

homeassistant:
  name: Home
  unit_system: metric
  # etc
....

  customize:
    # Add an entry for each entity that you want to overwrite.
    xxxxxxxxxxx:
      state_class: total_increasing

check and restart HA

Hi !

Here is a step-by-step example for a template entity, but should work with other types of entities too: