mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Merge pull request #1293 from w1ll1am23/Wink_lock_fix
Fixed issue with Wink locks lock, and unlock methods
This commit is contained in:
commit
966b83f648
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user