Within blocky, I'm trying to use a device that has been created with a python plugin :
Code: Select all
Domoticz.Device(Name="Plugin_Blind", Unit=2, TypeName="Switch", DeviceID="07070707", Switchtype=3).Create()
It seems as only the OnCommand() function of the pluggin is called?
By the way, this device does not change icon state either on the switch tab.
I have noticed a difference between a dummy blind switch and the plugin device blind switch :
[img]Debug_Blind_switch.jpg[/img]
I was looking for the list of TypeName and SwitchType. TypeName are clearly mentionned here https://www.domoticz.com/wiki/Developin ... hon_plugin. Is it up to date ? Where could I find the switchtype number list ?
Thank you for your help