From 2d88b77813ac61adcb333f366aa9c61a6e0820ba Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Thu, 8 Feb 2024 09:01:48 +0100 Subject: [PATCH] Skip polling of unavailable Matter nodes (#109917) --- homeassistant/components/matter/entity.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homeassistant/components/matter/entity.py b/homeassistant/components/matter/entity.py index 61535d990db..5c3f65d903c 100644 --- a/homeassistant/components/matter/entity.py +++ b/homeassistant/components/matter/entity.py @@ -129,6 +129,9 @@ class MatterEntity(Entity): async def async_update(self) -> None: """Call when the entity needs to be updated.""" + if not self._endpoint.node.available: + # skip poll when the node is not (yet) available + return # manually poll/refresh the primary value await self.matter_client.refresh_attribute( self._endpoint.node.node_id,