mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Nuki less strict (#26542)
This commit is contained in:
parent
1cea3a6abc
commit
bee566f893
@ -146,7 +146,7 @@ class NukiLock(LockDevice):
|
|||||||
self._available = False
|
self._available = False
|
||||||
return
|
return
|
||||||
|
|
||||||
self._available = self._nuki_lock.state != 255
|
self._available = True
|
||||||
self._name = self._nuki_lock.name
|
self._name = self._nuki_lock.name
|
||||||
self._locked = self._nuki_lock.is_locked
|
self._locked = self._nuki_lock.is_locked
|
||||||
self._battery_critical = self._nuki_lock.battery_critical
|
self._battery_critical = self._nuki_lock.battery_critical
|
||||||
|
Loading…
x
Reference in New Issue
Block a user