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?