Open ernestoherrerab opened 2 years ago
I added the following to get it to work:
payload = {
'templateName': device_template['templateName'],
'templateDescription': device_template['templateDescription'],
'deviceType': device_template['deviceType'],
'factoryDefault': device_template['factoryDefault'],
'configType': device_template['configType'],
'featureTemplateUidRange': [],
'generalTemplates': device_template['generalTemplates']
}
The payload is declared as follows:
However there is no reference to the key 'featureTemplateUidRange' and instead the following is used:
payload['generalTemplates']
in the condition:
However, in the payload there is no mention of ['generalTemplates']
Can this be fixed in the next iteration?
Thank you