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:
parent
fa7391cdf6
commit
105dc2847e
7 changed files with 25 additions and 17 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue