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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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