The switch side of the home automation project