#copy that added state class total
1 messages · Page 1 of 1 (latest)
- platform: command_line name: water-meter unique_id: watermeter2023 command: /usr/local/bin/rtlamr -server 10.15.100.20:1234 -filterid=1569772012 -msgtype=r900 -format=json -single -duration=1m | jq -c '. |= del(.Message) + .Message' command_timeout: 45 device_class: water value_template: '{{ value_json.Consumption | float / 10 }}' unit_of_measurement: 'gal' state_class: total_increasing json_attributes: - Time - BackFlow - Consumption - Leak - LeakNow
I think that should be all you need. Maybe try restart, wait a bit, or check for statistics problems in developer tools/statistics
ill give the reboot a bit more time - good call