From bee566f89321086768ef4db910e2777f818e833f Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 10 Sep 2019 23:23:27 +0200 Subject: [PATCH] Nuki less strict (#26542) --- homeassistant/components/nuki/lock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/nuki/lock.py b/homeassistant/components/nuki/lock.py index 31a655dfedd..dc0ae1f2249 100644 --- a/homeassistant/components/nuki/lock.py +++ b/homeassistant/components/nuki/lock.py @@ -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