I quite often have to switch off and back on a device or light for any reason...
now I'm wondering if it could be possible to include a new function in dzVents...
basically I was thinking a something like:
domoticz.devices('myDevice').powerCycle(<value in seconds>)
that perform:
domoticz.devices('myDevice').switchOff()
domoticz.devices('myDevice').switchOn().afterSec(<vale in seconds>)
or...
domoticz.devices('myDevice').switchOnOff(<value in seconds>)
and of course
domoticz.devices('myDevice').switchOffOn(<value in seconds>)
...what do you think?