Utility meter sensor not show as energy source

Good morning.
I m not able to select my utility meter sensor in energy panel.
Here state classes of the sensor:

state_class: total_increasing
last_reset: '2021-07-06T22:36:50.966751+00:00'
source: sensor.shellyem_main_total_energy
status: paused
last_period: '264.12'
meter_period: yearly
tariff: f1
unit_of_measurement: KWh
friendly_name: energy_yearly_consumption f1
icon: mdi:counter

sensor.shellyem_main_total_energy is a template sensor that sum the two channel.

How to solve?

Thanks

It should have this attribute as well:

device_class: energy
1 Like