Hi all,
I have 3 different switches in my house, as per below:
- 1 pcs Master Switch - Located in my bedroom
- 1 pcs Living Room Switch (Control 1 light) - Located in my living room
- 1 pcs Dining Room Switch (Control 1 light) - Located in my dining room
Purpose of this settings:
When I going to sleep, I just press the Master Switch in my bedroom. Then all lights in Living Room and Dining Room is turned off, so that no electricity is wasted =)
I would like to set Master Switch to control both Living Room Switch and Dining Room Switch at the same time, as per logic below:
- If Master Switch is turned on, then both Living Room Switch and Dining Room Switch is automatically turned on. Vice versa.
- Either one of Living Room Switch and Dining Room Switch is turned on, then Master Switch should turn on as well. Until both Living Room Switch and Dining Room Switch is turned off and no one pressed Master Switch during this period, then only Master Switch will automatically turn off as well.
I have tried to use light.toggle method, but it does not works as expected.
Could anyone provide some guidance on this?
Thanks.