Inside every smart switch is a relay, and most of them are the same kind: an electromagnet pulls a contact closed, and the coil keeps drawing power as long as the load stays on.