Arm "Away" vs "Stay" Based on Switch?

OK, with classic there are multiple ways to do it. :sunglasses:

First make sure you understand the difference between the “home“ which is an SHM armed state and the “home“ which is a mode. Read the following FAQ (this is a clickable link)

OK, so hopefully we are clear on modes versus armed states.

Now the following FAQ on creating complex rules should be helpful:

Also, you’ve been saying ‘open/close switch”, but don’t you mean an open/close sensor? It won’t really make much difference in terms of creating the automation, but I think it will help people visualize the use case a little more easily.