From 157a48447128b7f9982c858ffd803d99c425084d Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Tue, 9 Jul 2024 09:43:35 +0200 Subject: [PATCH] Do not assume unlocking state when calling open state for matter lock --- homeassistant/components/matter/lock.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/homeassistant/components/matter/lock.py b/homeassistant/components/matter/lock.py index 1cc85fa897e..1fefd017abe 100644 --- a/homeassistant/components/matter/lock.py +++ b/homeassistant/components/matter/lock.py @@ -120,9 +120,6 @@ class MatterLock(MatterEntity, LockEntity): async def async_open(self, **kwargs: Any) -> None: """Open the door latch.""" - # optimistically signal unlocking to state machine - self._attr_is_unlocking = True - self.async_write_ha_state() code: str | None = kwargs.get(ATTR_CODE) code_bytes = code.encode() if code else None await self.send_device_command(