Google Home discussion topic (Archived 1)

Create a virtual device, for instance Sleep Mode. Then create a flow where when = “virtual device on” & then = “run Flow Sleep Mode” and select that flow. Then you can just tell home to “turn on Sleep Mode. That will switch on the virtual device, wich then will trigger the flow.

I added a “turn off switch” in that flow too. So the virtual devide doesn’t stay on, preventing you to turn it on later (otherwise you manually have to switch it off and and then turn it on for the flow to trigger)