Disable polling for Knocki (#120656)

This commit is contained in:
Joost Lekkerkerker 2024-06-27 12:29:32 +02:00 committed by Franck Nijhof
parent 0e1dc9878f
commit a8d6866f9f
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -48,6 +48,7 @@ class KnockiTrigger(EventEntity):
_attr_event_types = [EVENT_TRIGGERED] _attr_event_types = [EVENT_TRIGGERED]
_attr_has_entity_name = True _attr_has_entity_name = True
_attr_should_poll = False
_attr_translation_key = "knocki" _attr_translation_key = "knocki"
def __init__(self, trigger: Trigger, client: KnockiClient) -> None: def __init__(self, trigger: Trigger, client: KnockiClient) -> None: