1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Nuki less strict (#26542)

This commit is contained in:
Pascal Vizeli
2019-09-10 23:23:27 +02:00
committed by GitHub
parent 1cea3a6abc
commit bee566f893

View File

@@ -146,7 +146,7 @@ class NukiLock(LockDevice):
self._available = False
return
self._available = self._nuki_lock.state != 255
self._available = True
self._name = self._nuki_lock.name
self._locked = self._nuki_lock.is_locked
self._battery_critical = self._nuki_lock.battery_critical