DaveL17 wrote:Are you talking about getDeviceConfigUiValues()?
Sent from my iPhone using Tapatalk
getDeviceConfigUiValues(self, valuesDict, typeId, devId)
Multitool self.getDeviceConfigUiValues: ArgSpec(args=['self', 'pluginProps', 'typeId', 'devId'], varargs=None, keywords=None, defaults=None)
Multitool Docstring: None
Colorado4Wheeler wrote:DaveL17 wrote:Are you talking about getDeviceConfigUiValues()?
Sent from my iPhone using Tapatalk
Maybe, I'm not sure. I can't find that one in the API docs.
DaveL17 wrote:I don't think it's in the docs.
autolog wrote:That's the one. You mentioned Menus which is why I gave you the link I did.
autolog wrote:Take a look at the Plugin Developer Documenter Plugin - an excellent piece of documentation from @RogueProeliator.
def getDeviceConfigUiValues(self, valuesDict, typeId, devId):
if typeId == 'someTypeId' and 'devicePropertyName' not in valuesDict.keys():
valuesDict['devicePropertyName'] = "defaultValue"
return valuesDict
Users browsing this forum: No registered users and 1 guest