I don’t think it’s SHM that changes the mode, is it? Don’t you have a routine or another smart app that does that change? And also changes the SHM alarm status?
Anyway, there’s lots of different ways to do it. But it’s going to require two different “I’m back” routines. You can’t have the same routine do two different things based on time of day. So you clone it and have the different routines run based on arrival during different modes.
You can have a single core piston do two different things, I think, you’d have to ask in the peer assistance Core thread.
But for the routines you would need one routine for I’m back daytime and one routine for I’m back nighttime. And one mode for away during the day and a different mode for away at night.
Then when the mode is away during the day and you get home, you run the routine for I’m back daytime.
If the mode is away during the evening when you get home, you and your team for I’m back at night.
Like I said, each step is pretty simple, but you end up with a bunch of different routines to manage. So Core might make it easier to follow just because you have all your if’s and’s in or is in the same place.