Water can only get so hot, water in pan, pan can only get as hot as water. Water gone, pan can now get hotter, triggering the off switch.
Ps:magnets lose their magnetism when exposed to heat. Many rice cookers use this as the trigger. When the bowl gets too hot the magnet loses charge and gravity breaks the connection.
Latest Answers