Activating my old house alarm

I am activating my old house alarm, through esp12-E (tasmota) with 4 relays to the remote control of the alarm, which only needs a push. I did it with a switch and an automation of 1 second of relay pulsation. The problem is that if I’m away from home, the swicht goes back to sleep and I can not tell if it’s really connected. What comes to mind, any ideas?
Sorry for my English language, it is for translator and if this post is not here, I am new in the world of home automation and Home assistant.