Problem with Water Meter

sensor:
- platform: pulse_counter
    pin: GPIO12
    update_interval : 6s
    name: "water pulse"
    id: water_pulse

- platform: pulse_meter
    pin: GPIO12
    name: "Water Pulse Meter"
    unit_of_measurement: "liter/min"
    icon: "mdi:water"
    total:
      name: "Water Total"
      unit_of_measurement: "liter"

  - platform: pulse_meter
    pin: GPIO12
    name: "Water Pulse Meter"
    unit_of_measurement: "liter/min"
    icon: "mdi:water"
    total:
      name: "Water Meter Total"
      unit_of_measurement: "m³"
      id: water_meter_total
      accuracy_decimals: 3
      device_class: water
      state_class: total_increasing
      filters:
        - multiply: 0.001

  - platform: template
    name: "Water Usage Liter"
    id: water_flow_rate
    accuracy_decimals: 1
    unit_of_measurement: "l/min"
    icon: "mdi:water"
    lambda: return (id(water_pulse).state * 10);
    update_interval: 6s

I installed this in mine… unfortunately:

  • platform: pulse_meter
    pin: GPIO12
    name: “Water Pulse Meter”
    unit_of_measurement: “liter/min”
    icon: “mdi:water”
**total:**

** name: “Water Total”**
** unit_of_measurement: “liter”**

Unfortunately it remains empty… why is that?

thx for help

Can you give ESPHome 2023.7.x a try? There are currently issues with pulse meters.

You did format the code that you copied from the PieterBrinkman site correctly, but unfortunately your own code is not formatted correctly in your post, making it very hard to follow what you did exactly.
Can you please edit your post and format your own code correctly following this: Format it properly.
And when you are at it, also post your complete code.

Looking at your current code it looks like you did use incorrect quotation marks: this should be double quotes like this "bla bla" and not like this: “bla bla” (so do not use left and right double quotation marks).
This might be due to copy and paste, but please check this to be sure.

What exactly do you mean by “it remains empty”?