how did you manage to add this to your gasmeter energy dashboard?
Mine refuses to add my gas_consumption sensor:
configuration.yaml:
# For the gas usage sensor
sensor:
- platform: template
sensors:
gas_meter:
friendly_name: Gas Zähler (gesamt)
unit_of_measurement: "m³"
icon_template: "mdi:counter"
device_class: gas
value_template: "{{ states ('counter.gas_zahler_rohwerte') | float(0) * 0.01}}"
and (in the customize section of configuration.yaml
# gas energy sensor
sensor.gas_meter:
device_class: energy
state_class: total_increasing
accuracy_decimals: 2
last_reset: '2022-09-27T00:00:00.000000+00:00'
My energy dashboard refuses to add my gas meter:
EDIT:
Actually I can add the gas_meter mentioned above (does not show data).
But I cannot add the monthly / daily gas consumption based on this sensor (Utility Meter)