Have found it:
(from 123)
The documentation doesn’t show the
state_class
option for legacy Template Sensor. My understanding is that the energy integration includes entities containing that option (and set tomeasurement
). Without that option, the entity is excluded.Easy way to find out is to convert one or more of your Template Sensors from legacy to the new format and add
state_class: measurement
.
https://community.home-assistant.io/t/2021-8-0-feel-the-energy/326853/83