Dome Water Shutoff Valve

I would love this. I would think it would be rather easy since the profile is for a switch, which is simply on or off.