Skip to content

Commit

Permalink
Update zappi.py
Browse files Browse the repository at this point in the history
Add unlock Zappi command
  • Loading branch information
videojedi authored Jan 25, 2023
1 parent ab381e4 commit 04e932d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pymyenergi/zappi.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,3 +346,8 @@ async def start_smart_boost(self, amount, complete_by):
f"/cgi-zappi-mode-Z{self._serialno}-0-11-{int(amount)}-{time}"
)
return True

async def unlock(self):
"""Unlock"""
await self._connection.get(f"/cgi-jlock-Z{self._serialno}-00000010")

This comment has been minimized.

Copy link
@reedy

reedy Sep 8, 2023

#7 suggests this may not actually work correctly?

return True

0 comments on commit 04e932d

Please sign in to comment.