mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Fix STATE_UNLOCKED for verisure (#20858)
This commit is contained in:
committed by
Pascal Vizeli
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':
|
||||
|
Reference in New Issue
Block a user