- 7 Dec 2022
- 1
- 13
Hi everyone,
I'm trying to make a somewhat complicated automation and I can't seem to make it work.
Basically I want a smart socket to turn on, a few seconds after a sensor is opened but I also want to be able to turn this routine off easily be closing another sensor.
The idea is to have an siren on the smart plug which will go off a few seconds after a door opens but if I get back home, I will close another sensor with a magnet attached on my keys, so the alarm won't go off.
I set up the automation with a 15 sec delay and then a run manual automation for the plug. There is a second automation that when I close the second sensor, the routine with the delay turns off but although it does turn off, the plug still turns on.
I hoped I made my self clear. Not sure I did tbh.
I'd appreciate any help. Thanks.
I'm trying to make a somewhat complicated automation and I can't seem to make it work.
Basically I want a smart socket to turn on, a few seconds after a sensor is opened but I also want to be able to turn this routine off easily be closing another sensor.
The idea is to have an siren on the smart plug which will go off a few seconds after a door opens but if I get back home, I will close another sensor with a magnet attached on my keys, so the alarm won't go off.
I set up the automation with a 15 sec delay and then a run manual automation for the plug. There is a second automation that when I close the second sensor, the routine with the delay turns off but although it does turn off, the plug still turns on.
I hoped I made my self clear. Not sure I did tbh.
I'd appreciate any help. Thanks.