Page 1 of 1

Retreive the value of a selector switch.

Posted: Wednesday 02 December 2020 18:16
by Thorgal789
Hello, I know it s possible to retreive the level.

Code: Select all

    def onCommand(self, Unit, Command, Level, Hue):
        Domoticz.Log("onCommand called for Unit " + str(Unit) + ": Parameter '" + str(Command) + "', Level: " + str(Level) + ", Hue: " + str(Hue))
But is it possible te retreive the value in the selector instead of the level ?