Can't configure template sensor in energy dashboard

Hi all,

Currently I’m trying to integrate my oil burner into the energy monitor.

What I did:
The overall hours of the burner are sent out via mqtt.

For this I have the following entity:

 - platform: mqtt
    name: 'HoursOilBurner'
    state_topic: 'VITOWIFI/HoursOilBurner'
    unit_of_measurement: 'h'

To calculate the overall liters of heating oil I have this entity:

sensor: 
  - platform: template
    sensors:
      oilusage:
        friendly_name: "heating oil"
        unit_of_measurement: "l"
        device_class: gas
        value_template: "{{ float(states.sensor.hoursoilburner.state) * 0.0008464052288 }}"

To get the daily/monthly/yearly amoung I have this entity:

utility_meter:
  oelverbrauch_tag:
    source: sensor.oilusage
    cycle: daily 
  oelverbrauch_monat:
    source: sensor.oilusage
    cycle: monthly 
  oelverbrauch_jahr:
    source: sensor.oilusage
    cycle: yearly

But unfortunatly I cannot add any of these entities to my energy dashboard.
I hope you can give me a hint to solve this issue

hello
i use this:
bramstroker/homeassistant-powercalc: Custom component to calculate estimated power consumption of lights and other appliances (github.com)

This is also mentioned in this feature request (please vote :wink: )