Have you had any luck solving this? These types of things can be confusing. As I said above, the wiring diagram will be the best help. Have you considered consulting a San Francisco electrician?