Hello,
I have prepare a blueprint to setup one master switch that can turn off other slave switches. This is used when I leave a home, and with one sonoff switch (next to door) all lights in the house are also turned off.
I am using the same concept with the switch in the bed room, When I go sleep, no need to turn-off all light in the house nor going to HA to do this from mobile, Just a switch on the wall that is not connected to any light, I call it master switch, that in in sync with many other slave switches.
The blueprint is available here:
The code can be easy adjusted for more slave switches, curently there are 4 slaves switches + 1 master. This is my first blueprint shared with community so I’m looking forward for the constructive comments.