Added optional parameter to lock and unlock methods
This commit is contained in:
1 parent
bd3f0c101d
commit
b2366ce68e
1 file changed
+2
-2
@@ -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)
|
||||
Reference in new issue
Block a user