A washing machine can have at least one heating element and be configured to perform a cycle of operation. A method of operation of the washing machine can include signaling a relay circuit to switch operation of the at least one heating element. A washing machine and a dryer can each have at least one heating element and be configured to perform a cycle of operation. The washing machine and dryer can be connected to a shared power source. A method of sharing power between the washing machine and the dryer can include allocating power between the washing machine and the dryer.