Disable polling for Matter entities by default (#122452)

Matter entities don't implement async_update, they get their update
from the Matter subscriptions through the WebSocket from the Matter
Server. This change disables polling for all Matter Entities by
default.
This commit is contained in:
Stefan Agner
2024-07-23 13:43:12 +02:00
committed by GitHub
parent 1fd3c9d6dd
commit 73ea62edd4

View File

@@ -44,6 +44,7 @@ class MatterEntity(Entity):
"""Entity class for Matter devices."""
_attr_has_entity_name = True
_attr_should_poll = False
_name_postfix: str | None = None
def __init__(