From b2366ce68e848a6f5948bd11ef35926d200a2634 Mon Sep 17 00:00:00 2001 From: William Scanlon Date: Wed, 17 Feb 2016 05:50:36 -0500 Subject: [PATCH] Added optional parameter to lock and unlock methods --- homeassistant/components/lock/wink.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/lock/wink.py b/homeassistant/components/lock/wink.py index be558dceee7..1900a864877 100644 --- a/homeassistant/components/lock/wink.py +++ b/homeassistant/components/lock/wink.py @@ -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)