Add Gas Meter Read to Energy Dashboard

I have the following template sensor:

- sensor:
  - name: Gas Consumption
    state: "{{ states('input_number.gas_read_manual')|float(0) }}"
    unit_of_measurement: m3  
    device_class: gas
    state_class: total_increasing

As far as I can tell that should be enough to get it into the Energy Dashboard under gas, however it is not appearing in the list of available sensors.

What am I missing?

1 Like

Hi
Small 3 !

Phil

Thanks Phil, got the same response on Fb.
My text editor converted it, which i assumed was ok since HA didn’t throw an error about it.