Skip to content

Commit

Permalink
bug fix for lockDetails call
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Lamoureux committed Aug 29, 2020
1 parent af8ed89 commit 9e0b8ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion August Home.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>1.0.19</string>
<string>1.0.20</string>
<key>ServerApiVersion</key>
<string>2.0</string>
<key>IwsApiVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion August Home.indigoPlugin/Contents/Server Plugin/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def deviceStartComm(self, dev):
props["houseID"] = house["HouseID"]
props["houseName"] = house["HouseName"]

batteryLevel = int(100*lockDetails["battery"])
batteryLevel = int(100*house["battery"])
batteryLevelStr = u"%d%%" % (int(batteryLevel))
props["batteryLevel"] = batteryLevel
props["batteryLevelStr"] = batteryLevelStr
Expand Down

0 comments on commit 9e0b8ab

Please sign in to comment.