how do I set the plugin menu item default VALUES? i.e. the equivalent to e.g. "def getDeviceConfigUiValues(self, pluginProps, typeId, devId):"
for more complex menus with configUi
I believe you are looking for getMenuActionConfigUiValues...
- Code: Select all
def getMenuActionConfigUiValues(self, menuId):
self.debugLogWithLineNum(u'Called getMenuActionConfigUiValues(self, menuId):')
if self.logMethodParams == True:
self.debugLogWithLineNum(u' (' + unicode(menuId) + u')')
valuesDict = indigo.Dict()
errorMsgDict = indigo.Dict()
return (valuesDict, errorMsgDict)