I have build a Water Meter based on a Wemos D1 mini and have integrated it in Home Assistant via the ESPHome Add-on and integration. It measures and displays the Pulses per minute. As every pulse is exactly one liter, it currently displays the Liters per minute in Lovelace. However I would like to display the total amount of liters per day. I have spend multiple days to find a solution, however I am not able to find a workable solution on the internet. Can you please help me? Thanks in advance.
My current ESP Home config:
esphome: name: watermeter platform: ESP8266 board: d1_mini wifi: ssid: "XYZ" password: "XYZPass" manual_ip: # Set this to the IP of the ESP static_ip: 192.168.3.6 # Set this to the IP address of the router. Often ends with .1 gateway: 192.168.3.1 # The subnet of the network. 255.255.255.0 works for most home networks. subnet: 255.255.255.0 # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Watermeter Fallback Hotspot" password: "xYyJLmQ7UcbO" captive_portal: # Enable logging logger: # Enable Home Assistant API api: password: "watermeter" ota: password: "watermeter" sensor: - platform: pulse_counter pin: 14 name: "Water Meter" update_interval : 60s accuracy_decimals: 0