Changed locked method of lock support to "is_locked".

Added lock and unlock methods
Updated wink components to use the new version of the wink library.
This commit is contained in:
miniconfig 2015-11-20 16:34:27 -05:00
parent fa7391cdf6
commit 105dc2847e
7 changed files with 25 additions and 17 deletions

View file

@ -41,7 +41,7 @@ class DemoLock(LockDevice):
return self._icon
@property
def locked(self):
def is_locked(self):
""" True if device is locked. """
if self._state == STATE_LOCKED:
return True