I feel that the Python Plugin is always expected a dictionary Options parameter, while in the case of the Custom Sensor it is a simple String !
Code: Select all
myDev = Domoticz.Device( DeviceID = '12345', Name = 'My Custom Sensor', Unit = 5,
Type = 0xF3, Subtype = 31 , Switchtype = 0,
Options = '1;ppm' )