if "power-ports" in deviceType or "power-port" in deviceType:
createPowerPorts(deviceType["power-ports"], dtSuccess.id, nb)
Into
if "power-ports" in deviceType:
createPowerPorts(deviceType["power-ports"], dtSuccess.id, nb)
if "power-port" in deviceType:
createPowerPorts(deviceType["power-port"], dtSuccess.id, nb)
Because it was causing issues
Otherwise this also worked without issue on v2.8.8!
Thanks for your work, this is the best importer I've found yet! Handles existing manufacturers / device types / ports flawlessly!
Split the check for
Into
Because it was causing issues
Otherwise this also worked without issue on
v2.8.8
!Thanks for your work, this is the best importer I've found yet! Handles existing manufacturers / device types / ports flawlessly!