Filter entity not showing Long Term Statistics

I have a base entity called sensor.hem_energy_kwh that I receive from my home energy meter. It shows up as Long Term Statistics and all works fine. But the device often sends “dirty” data which I want to clean using Filer Sensors.

    - platform: filter
      name: "Home Energy Clean"
      entity_id: sensor.hem_energy_kwh
      filters:
        - filter: outlier
          window_size: 4
          radius: 4.0

And it seems to work, but I cannot see the sensor as Long Term Statistics.

I added the measurments type in the customize:

    sensor.home_energy_clean:
      state_class: measurement
      friendly_name: Home Energy Clean

And also made sure the new sensor has recorded history.

This is how it shows in Home Assistant:

What am I missing?

Where can’t you see it?
For the energy usage, I think you need state_class: total_increasing

It did not show in the list of entities available in Statistics Card and in Energy, but state_class: total_increasing did the trick! That fixed it.

For some reason in Customizations UI total_increasing cannot be selected. The only option I can see is measurement. But I changed it manually in the customizations.yaml file.

Thanks