Final answer:
The electrical switching in an electronic t-stat is often done by a microcontroller, which acts as the brain of the t-stat and can be programmed to control various electrical devices.
Step-by-step explanation:
The electrical switching in an electronic t-stat is often done by a microcontroller. A microcontroller is a small computer on a single integrated circuit that can be programmed to control various electrical devices. It acts as the brain of the t-stat, receiving input from sensors and then using its programming to switch the electrical circuits on and off.