Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107572

Can't get EV kWh usage in Energy Dashboard

$
0
0

I’m trying to use the battery part of the energy dashboard for my EV charger. The EV-charger only has a sensor that counts kWh per charging session. Every new charging session it starts at 0.

Below the EV charger sensor, above it a template sensor I created. I also created a dummy sensor.

The issue is that the dummy sensor shows up in the energy dashboard battery dropdown, the templated kWh sensor does not.

Dummy sensor:

  - sensor:
    - name: "Battery unload dummy"
      unique_id: battery_unload_dummy
      unit_of_measurement: "kWh"
      state_class: total
      state: "{{0.0|float}}"

templated sensor for kWh total usage:

    - name: "EVSE energieverbruik"
      unit_of_measurement: "kWh"
      unique_id: evse_energieverbruik
      state_class: total
      state: "{{ states('sensor.evse_energy')|float(0) }}"
      availability: "{{ states('sensor.evse_energy')|is_number }}"
      icon: mdi:ev-station

nope:

Some help would be greatly appreciated.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 107572

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>