Hello ! I have been converting successfully many AS to Python today, but this one resists !
I was setting up the dim value of this Qubino module to a values stored in a variable with AS like this:
# dim device "Qubino fil pilote zone nuit" to (value of variable "ValeurZone2") as integer
My Python code:
FPZoneNuit = indigo.devices[460418665] # Qubino fil pilote zone nuit
Zone2 = int(indigo.variables[1755266407].value) # "ValeurZone2"
FPZoneNuit.brighten = 85
indigo.dimmer.brighten(460418665, value=74)
I have tried all variation of brighten, set brightness, set brightnesslevel on both lines but nothing works.. what is the secret command ?