There is an "unofficial" fork of the Adapters plugin updated for Python 3
in my GitHub repos. It's a beta release, but seems to be running smoothly. I consider it unofficial because the plugin will be added to the Indigo open source plugin list (as it's been abandoned by its original developer.)
For your original question, here's the Python version of your code (it's better to use ID numbers instead of names):
- Code: Select all
# with IDs
var_value = indigo.variables[1928699259].value # ID of `TimerSpklrDuration`
indigo.variable.updateValue(314742858, var_value + " min remain") # ID of `TimerSpklrDurationMin`
# with names
var_value = indigo.variables["TimerSpklrDuration"].value
indigo.variable.updateValue("TimerSpklrDurationMin", var_value + " min remain")