**1) Give a description of the problem
Cannot figure out code to re-arm sensor after back door sensor closed. I have alarm.com alarm system. Have installed SmartThing switches called Alarm Away, Alarm Stay, and Disarm. Have routine that turns on Alarm Stay at night. However, have a son that lives in garage apartment that will come in the house after that time, disarm the alarm, but not re-arm when he goes back to his apartment.
2) What is the expected behavior?
I would like a piston that will re-arm the system every time it is disarmed, between certain hours (1 - 8 am), and after the back door sensor is closed.
3) What is happening/not happening?
nothing is happening
**4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
no logs
REMOVE BELOW AFTER READING