I want to modify a selector switch in domoticz. This switch is created with this command:
Code: Select all
Option1 = {"Scenes": "|||||", "LevelNames": "0|Vent. 1|Vent. 2|Vent. 3|Vent. red.", "LevelOffHidden": "false", "SelectorStyle": "1"}
Domoticz.Device(Name="Pui. Vent. en cours", Unit=17, Type=244, Subtype=62 , Switchtype=18, Options = Option1, Used=1).Create()#1066
If I change the level in domoticz, I have this log:
Code: Select all
User: Admin initiated a switch command (115/vmc - Pui. Vent. en cours/Set Level)
I think I miss something but I don't find.
I am updating a thermostat without troubles with the same script.
Tx for your help or comments
Antoine