mirror of
https://github.com/home-assistant/core.git
synced 2026-08-24 10:13:52 -05:00
Make tedee unknown during calibration and updates (#179048)
This commit is contained in:
@@ -58,6 +58,8 @@ class TedeeLockEntity(TedeeEntity, LockEntity):
|
||||
if self._lock.state in (
|
||||
TedeeLockState.HALF_OPEN,
|
||||
TedeeLockState.UNKNOWN,
|
||||
TedeeLockState.CALIBRATING,
|
||||
TedeeLockState.UPDATING,
|
||||
):
|
||||
return None
|
||||
return self._lock.state == TedeeLockState.LOCKED
|
||||
|
||||
Reference in New Issue
Block a user