domoticz.devices('<NAME>'). sometimes relates to a removed device
Posted: Tuesday 12 June 2018 17:20
I had two occasions where there are two devices with the same name, e.g.
DEMO_SWITCH was created and deleted, lets call it device A : it was still seen as an inactive device in the devices overview (the green icon)
then a NEW DEMO_SWITCH was created, lets call it device B
when I called domotica.devices('DEMO_SWITCH') erratic results happen. This was solved after I deleted device A in the devices overview (by means of the trash can).
domoticz 3.9530
DEMO_SWITCH was created and deleted, lets call it device A : it was still seen as an inactive device in the devices overview (the green icon)
then a NEW DEMO_SWITCH was created, lets call it device B
when I called domotica.devices('DEMO_SWITCH') erratic results happen. This was solved after I deleted device A in the devices overview (by means of the trash can).
domoticz 3.9530