Almost all smart switches in the market work this way. Wipro makes such switches. Smarteefi seems to be a good brand with decent reviews on Amazon. Smarteefi new series comes with 1 year warranty. I have been using one of these from the past 6 months. If you have any questions, feel free to ask,