Code: Select all
dz.devices('Siren Alarm').switchOff().AfterSec(10)
The script works perfectly fine when I remove the option 'AfterSec(10)'
The device here is a coolcam siren, which I would like to silence 10 seconds later.
Tried to search for the answer in the dzVents documentation and on the forum, without luck so far.
Would appreciate if anybody can point me in the right direction.
Using:
Version: 2022.2
Build Hash: eea9db734
Compile Date: 2022-11-05 13:05:35
dzVents Version: 3.1.8
Python Version: 3.7.3 (default, Oct 31 2022, 14:04:00) [GCC 8.3.0]