I have a basement office that I use when I work from home. I have a Wemo smart plug, with a night light plugged into it, in the hallway at the top of the basement stairs that I control via Apple Home app.
When I am in a work meeting, I go to the Apple Home app on my Mac and turn on the Wemo Plug (and therefore turn on the nightlight), signaling to everyone in the house that I am in a meeting and should not be disturbed. With the advent of Focus Modes, I frequently find myself then going to turn on the “Do Not Disturb” Focus mode after turning on the plug.
And I’m figuring these multiple actions should be automated so that when I turn on the Wemo Plug via Apple Home, DND Focus Mode should also turn on automatically, and when I turn off the plug via Apple Home, DND also turns off.
I tried setting up a Shortcut for this where the ‘trigger’ is turning on and turning off the Wemo Smartplug via Apple Home and really struggled to figure out how to do what I perceive to be a pretty straight forward Shortcut.
The logic I’m interpreting would be:
If Apple Home turns on Wemo Smartplug, then Turn "Do Not Disturb" Focus Mode on. If Apple Home turns off the Wemo Smartplug Turn off the "Do Not Disturb" Focus Mode.
Please see screen shots below. Do I need to add in additional logic to make this work? What am I missing here? The problem with the below actions is that the first one is triggered by Apple Home while the second does not also turn off the Smart Plug. I’m thinking that this should be a pretty straight forward Shortcut but I’m feeling a little daft here.