Fix STATE_UNLOCKED for verisure (#20858)
This commit is contained in:
parent
5a762c74f4
commit
81cad8cd52
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class VerisureDoorlock(LockDevice):
|
|||
"$.doorLockStatusList[?(@.deviceLabel=='%s')].lockedState",
|
||||
self._device_label)
|
||||
if status == 'UNLOCKED':
|
||||
self._state = None
|
||||
self._state = STATE_UNLOCKED
|
||||
elif status == 'LOCKED':
|
||||
self._state = STATE_LOCKED
|
||||
elif status != 'PENDING':
|
||||
|
|
Loading…
Add table
Reference in a new issue