Merge pull request #1293 from w1ll1am23/Wink_lock_fix

Fixed issue with Wink locks lock, and unlock methods
This commit is contained in:
Paulus Schoutsen 2016-02-17 08:00:51 -08:00
commit 966b83f648

View File

@ -57,10 +57,10 @@ class WinkLockDevice(LockDevice):
""" True if device is locked. """
return self.wink.state()
def lock(self):
def lock(self, **kwargs):
""" Lock the device. """
self.wink.set_state(True)
def unlock(self):
def unlock(self, **kwargs):
""" Unlock the device. """
self.wink.set_state(False)