Skip to content

Commit

Permalink
Unicode Fix for Variable Name List
Browse files Browse the repository at this point in the history
handle umlauts in Variable Name List
  • Loading branch information
autolog committed Jun 15, 2019
1 parent 798562c commit 80e3288
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
2 changes: 1 addition & 1 deletion Alexa-Hue Bridge.indigoPlugin/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>PluginVersion</key>
<string>3.0.30</string>
<string>3.0.32</string>
<key>ServerApiVersion</key>
<string>2.0</string>
<key>IwsApiVersion</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,8 @@ def disableAlexaVariableList(self, filter="", valuesDict=None, typeId="", target
disableAlexa_dict.append((str(disableAlexaVariableId), u"-- INVALID: {} --".format(variableName)))
for variable in indigo.variables.iter():
if variable.value.lower() == 'true' or variable.value.lower() == 'false':
variable_found = (str(variable.id), str(variable.name))
variable_found = (str(variable.id), u'{}'.format(variable.name))
# variable_found = (str(variable.id), str(variable.name))
disableAlexa_dict.append(variable_found)
myArray = disableAlexa_dict
return myArray
Expand Down

0 comments on commit 80e3288

Please sign in to comment.