Files
ha_config/sensors.yaml
T
2025-11-20 20:09:50 +01:00

16 lines
481 B
YAML

#- platform: template
# sensors:
# Gaszähler, kommend von ESPHome, aufbereiten für Energy
# gasincubicmeter:
# value_template: >
# {% if states('sensor.gasverbrauch') | float == 0 %}
# {{ states('sensor.gasincubicmeter') }}
# {% else %}
# {{ states('sensor.gasverbrauch') | float }}
# {% endif %}
# unit_of_measurement: m³
# device_class: gas
# attribute_templates:
# state_class: total_increasing