SHM is a feature of the classic app. STHM is the similar feature in the new V3 app. These are completely separate, and an automation created in one will not change the armed status of the other. This Has tripped up a lot of people over the last year or so.
See the community FAQ (the topic title is a clickable link)
So, First things first: are you trying to change the armed status in SHM? Or STHM?
And then either case, can you post a screenshot of the automation that is not working? Then we could help you better.