mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Fix STATE_UNLOCKED for verisure (#20858)
This commit is contained in:
parent
c99d140651
commit
6a78ad8ab6
@ -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…
x
Reference in New Issue
Block a user