Check out my app. It sounds like it could be what you need. It just always keeps two (or more) switches in sync.