Device_class: water "Value is not accepted" on 2022.11.3

I’ve added some mqtt sensors which pick up my water meter readings. The sensor is correctly picking up the value, however, when I try to set the device_class to water, I get the “value is not accepted.”

mqtt:
  sensor:
    - name: "Water Meter Total"
      state_topic: "tele/wasser/verbrauch"
      unit_of_measurement: "m³"
      device_class: "water"
      state_class: total_increasing
      value_template: "{{ value_json['total_m3']|default(0.000)}}"
      icon: mdi:counter

I have the exact same error. Did you find a solution?