As the topic implies I am trying to set a timer start value to the value of a variable. Like a count down clock.
I have tried the following phyton script, but it fails. Any suggestions?
verdi = indigo.variables[1201785696] # "Nedtellingstimer"
tId = "com.perceptiveautomation.indigoplugin.timersandpesters"
timerPlugin = indigo.server.getPlugin(tId)
if timerPlugin.isEnabled():
timerPlugin.executeAction("setTimerStartValue", deviceId=238449231, props={'amount':'verdi', 'amountType':'minutes'})
-----------------------------------------------------------------------------
Timers and Pesters Error Set Timer action failed validation
Håvard