Water sensor not showing up in Energy Dashboard

So I have a sensor, which according to me has all the correct properties:

unit_of_measurement: m³
icon: mdi:cube-outline
friendly_name: Water meter Total Consumption
device_class: water
state_class: total_increasing

But I does not come up in my energy dashboard as a sensor to choose from. What I could find is that the device_class is set correctly, state class as well. I even found a topic here where somebody got the sensor showing up because he added the icon property.