House API: Fix switch logic for turning plugs on.