Do the InstantPot has this basic control circuit which even the cheapest rice cooker has. I ambnot finding clear information on this online.
Using the same trick (in alll programs) it figures out overfilling and aborts for safety reasons.
Edit: I think the only sensor needed is a temperature sensor.