mqtt:
sensor:
- name: "Neptune Water Meter"
unique_id: sensor.watermeter
state_topic: "rtlamr/<ID here>/attributes"
value_template: "{{value_json.Consumption | float / 10}}"
unit_of_measurement: "gal"
device_class: water
state_class: total_increasing
icon: "mdi:water"
availability:
- topic: "rtlamr/status"
payload_available: "online"
payload_not_available: "offline"