Domoticz devices of type "Light/Switch" are not well converted by ISS-Domo and are interpreted by default as DevGenericSensor and not DevSwitch.
In order to correct this, you must replace the line
case (0 === strpos($device['Type'], 'Lighting')):
by
case (0 === strpos($device['Type'], 'Light')):
Hi,
Domoticz devices of type "Light/Switch" are not well converted by ISS-Domo and are interpreted by default as DevGenericSensor and not DevSwitch.
In order to correct this, you must replace the line
case (0 === strpos($device['Type'], 'Lighting')):
bycase (0 === strpos($device['Type'], 'Light')):