I’m hoping someone can help me figure out why my “Daily Usage” sensor in my ESPHome config below has increases that do not seem to correlate to the “Total Usage” sensor.
I have also setup “utility_meter” sensors in my main HA configuration.yaml and these seem to increase in correlation to my “Total Usage” sensor.
sensor:
- platform: pulse_meter
pin: GPIO5
name: "${device_name} Flow Rate"
id: water_meter_rate
unit_of_measurement: "Litre/min"
icon: "mdi:water"
timeout: 10s # Reset flow rate to 0 if no pulses for 10 seconds
filters:
- multiply: 0.00263157 # (380 pulses per L)
- throttle: 10s
total:
name: "${device_name} Total Usage"
icon: "mdi:chart-line"
unit_of_measurement: "Litre"
id: water_meter_total
accuracy_decimals: 2
device_class: water
state_class: total_increasing
filters:
- multiply: 0.00263157 # (380 pulses per L)
- throttle: 10s
- platform: total_daily_energy
name: "${device_name} Daily Usage"
icon: "mdi:calendar"
unit_of_measurement: 'Litre'
accuracy_decimals: 2
id: water_meter_daily
power_id: water_meter_rate
filters:
# Update at most every 60 seconds
- throttle: 10s
In the scenario below I turned on the tap at 8:16am this morning and you can see all the sensors increase to reflect the usage…
But my ESPHome based “Daily Usage” seems to have other random increase which I do not understand
The usage also doesn’t match so must be something wrong in my config or understanding how this feature works?