How to remove watermeter from energy dashboard

So I added a watermeter, with a volume and a flow sensor.
But as I add them to the energy dashboard, alas it tells me the flow sensor is invalid. The volume is fine. The flow is in error (the top line)

That is not the problem for HA (I already know what is wrong, it should have the device class ‘water’)

My question is: How to remove it?
The delete button (garbage bin) does not show, due to the error message.

Never mind, figured it out. The flow is ‘slave’ to the volume, you need to remove the volume. (and then re-add it)