I’m sure someone will have a more automated answer then I’m about to give, but I just was working this very issue this weekend. And this was my solution:
-
I was already using an Alexa Routine for Goodnight. “Alexa, Goodnight” would lock the doors, turn off the downstairs lights and set the house alarm for “Arm Stay”.
-
A made a virtual switch with Alexa Helper named Nighttime. Then I made an ST Routine called Night that would set the ST Mode to Night when that switch was activated
-
Next I added my virtual switch to the list of switches that Alexa turns on when the “Goodnight” routine is run. However, Alexa has issues for some reason accessing virtual switches in an Alexa Routine. But she is able to activate an Alexa Group, so I made an Alexa Group called Bedtime, added the Nighttime virtual switch and added that Group to the Alexa Goodnight Routine.
-
Lastly I made a Good Morning ST routine that runs at sunrise to set the ST Mode to Home.
May sound like a lot of work, but I’m still learning what all ST can do and the best way to learn is play with it.
Michael