This will look like this:
Simply import the project and whenever you change the DND mode on one device, it'll change the setting on all of your other devices automatically.
- Monitor And Sync Dnd: will react to the changes of the DnD setting on your phone (the Global zen_mode setting). When it changes, it'll send a Join message to all your Android devices with the format dnd=:=DND_MODE
- When Received From Other Change: will disable monitoring temporarily and then change the DND mode depending on what DND mode was received in the command. DND Monitoring will resume after 3 seconds. Monitoring is stopped because otherwise the first profile above would detect the change and send it back to the other phones as well, which is unwanted.