I have a 2 gang light switch by the front door, and then a 3 gang at the other end of the hall, I'd like to replaces these switches with some smart switches (sonoff) but because of the 2 way switch (hall light can be turned on from either end) I don't have the knowledge.