The differential switch is a device consisting of two electrical circuit control systems.
Both allow you to "unhook", that is, to power off the system.
One is instantaneous and sensitive to current short-circuit current fluctuations.
The second reads current increases, thanks to the Joule effect (the cables in which current passes tend to warm up) and prevents overloads.
Both the differential switch and the magnetic thermostat are normally placed inside the cabinet.
They are connected to the output cables of the counter and output to the cables that carry current throughout the house.