Solar Panels - No matching statistics found


I have added new sensor, that takes state from “variable”
it looks like like this:

   - sensor:
       - name: "Actual Power"
         unit_of_measurement: "W"
         state:  "{{ states('var.pv_power') }}"
         device_class: power
         state_class: measurement

Value is correct, seeems like there are no errors

The idea was to make it avaiable to select in the “Energy” tab, but seems like something more is missing im unableto select it. What else sould be done? Isnt the device_class and state_class enough ?

The sensor itself needs to be in recorder & history.

That is a power sensor. The Energy dashboard only works with energy sensors.

1 Like