Hi,
In my energy dashboard I added two sensors for consumed enerygy:
- sensor.wallbox_energy_per_dag → Which measures consumption from the wallbox (car charger) in Kwh
- sensor.totale_energy_minus_wallbox → Which is a “template” sensor containing the following:
{{ states(‘sensor.kwh_verbruik_vandaag’) | float(0) - states(‘sensor.wallbox_energy_per_dag’) | float(0) }}
the outcome of the template is 14,109 Kwh which matches perfect with manual calculation.
However, when I add the second (the templated one) sensor to the energy dashboard, it’s not showing 14,109 in the energy dashboard but 20.5 (which is the total of these two)
How can it be that the wrong value is displayed in the energy dashboard?