#Energy sensor not selectable

1 messages · Page 1 of 1 (latest)

grizzled stump
#

I have this template sensor defined that totals the energy of two other energy sensors. I cannot select it as an individual device in the Energy dashboard config.
Here is the yaml ```
sensor:

  • name: "3rd floor total energy"
    unit_of_measurement: "kWH"
    state_class: total_increasing
    device_class: energy
    state: "{{states('sensor.energy_monitor_circuit_22_energy')|float(0) + states('sensor.energy_monitor_circuit_24_energy')|float(0)|round(2) }}"
and here is the sensor in Dev tools.
The device_class and sensor_class and unit of measurement seem correct.
What am I missing?
simple nebula
#

kWh not H

grizzled stump
#

oh, geez.

#

fixed and restarted. Still not showing up

simple nebula
#

probably have a statistics issue now

#

look in the developer tools statistics page