Gaszähler Sensoren

Ich habe gestern den smarten Gaszähler in Betrieb genommen. Dazu sollte in die configuration.yaml folgenden Code einfügen:

mqtt:
  sensor:
    - name: "Zählerstand"
      unique_id: sensor.gaszaehler_zaehlerstand
      state_topic: "tele/Gaszaehler/json"
      value_template: '{{ value_json.gastotal }}'
      unit_of_measurement: 'm³'
      payload_available: "Online"
      payload_not_available: "Offline"
      device_class: gas
      state_class: "total_increasing"
    - name: "Zählung seit Nullung"
      unique_id: sensor.gaszaehler_zaehlung_seit_nullung 
      state_topic: "tele/Gaszaehler/json"
      value_template: '{{ value_json.value }}'
      unit_of_measurement: 'm³'
      payload_available: "Online"
      payload_not_available: "Offline"
      device_class: gas
      state_class: "total_increasing"
    - name: "Verbrauch Volumen heute"
      unique_id: sensor.gaszaehler_verbrauch_volumen_heute
      state_topic: "tele/Gaszaehler/json"
      value_template: '{{ value_json.today_m3 }}'
      unit_of_measurement: 'm³'
      payload_available: "Online"
      payload_not_available: "Offline"
      device_class: gas
      state_class: "total_increasing"
    - name: "Verbrauch Energie heute"
      unique_id: sensor.gaszaehler_verbrauch_energie_heute
      state_topic: "tele/Gaszaehler/json"
      value_template: '{{ value_json.today_kwh }}'
      unit_of_measurement: 'kWh'
      payload_available: "Online"
      payload_not_available: "Offline"
      device_class: energy
      state_class: "total_increasing"
    - name: "Verbrauch Volumen gestern"
      unique_id: sensor.gaszaehler_verbrauch_volumen_gestern
      state_topic: "tele/Gaszaehler/json"
      value_template: '{{ value_json.yesterday_m3 }}'
      unit_of_measurement: 'm³'
      payload_available: "Online"
      payload_not_available: "Offline"
      device_class: gas
      state_class: "total_increasing"
    - name: "Verbrauch Energie gestern"
      unique_id: sensor.gaszaehler_verbrauch_energie_gestern
      state_topic: "tele/Gaszaehler/json"
      value_template: '{{ value_json.yesterday_kwh }}'
      unit_of_measurement: 'kWh'
      payload_available: "Online"
      payload_not_available: "Offline"
      device_class: energy
      state_class: "total_increasing"
    - name: "Verbrauch Volumen vorgestern"
      unique_id: sensor.gaszaehler_verbrauch_volumen_vorgestern
      state_topic: "tele/Gaszaehler/json"
      value_template: '{{ value_json.db_yesterday_m3 }}'
      unit_of_measurement: 'm³'
      payload_available: "Online"
      payload_not_available: "Offline"
      device_class: gas
      state_class: "total_increasing"
    - name: "Verbrauch Energie vorgestern"
      unique_id: sensor.gaszaehler_verbrauch_energie_vorgestern
      state_topic: "tele/Gaszaehler/json"
      value_template: '{{ value_json.db_yesterday_kwh }}'
      unit_of_measurement: 'kWh'
      payload_available: "Online"
      payload_not_available: "Offline"
      device_class: energy
      state_class: "total_increasing"

und als Template:

  - sensor:
      - name: "Gaszähler m3"
        unique_id: gaszaehler_m3
        state: "{{ states ('sensor.tasmota_counter_c1') | float * 0.01 }}"
        unit_of_measurement: "m³"
        icon: "mdi:gas-station"
        device_class: gas
        state_class: total_increasing
  - sensor:
      - name: "Gaszähler kWh"
        unique_id: gaszaehler_kwh
        state: "{{ (states ('sensor.gaszaehler_m3') | float(0) * 0.9533 * 10.3) | round(0) }}"
        unit_of_measurement: "kWh"
        icon: "mdi:gas-station"
        device_class: energy
        state_class: total_increasing 

Die Sensoren von mqtt finde ich nicht als Entitäten. Ist das richtig oder ist da ein Fehler drin?

Hast du eine Lösung gefunden? Ich stehe vor dem selben Problem.

Bei mir läuft es jetzt. Woran es gelegen hat kann ich nicht sagen