WiDom Universal Relay Switch can be configured so that, when the power comes back, the device state turns to ON, OFF or is the same as before the blackout.