Again yet another cm to liter transformation - Water Tank Level

You can have a look around here too for a similar example and “copy sensor” based approach.

Copy sensors can be handy if you want a few derived/processed variants of a sensor (progressively add more filters).

Scroll down…