mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
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:
parent
1fd3c9d6dd
commit
73ea62edd4
@ -44,6 +44,7 @@ class MatterEntity(Entity):
|
|||||||
"""Entity class for Matter devices."""
|
"""Entity class for Matter devices."""
|
||||||
|
|
||||||
_attr_has_entity_name = True
|
_attr_has_entity_name = True
|
||||||
|
_attr_should_poll = False
|
||||||
_name_postfix: str | None = None
|
_name_postfix: str | None = None
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user