Temporarily disable full control (#871)

This commit is contained in:
Alek Petuskey 2023-04-25 21:16:31 -07:00 committed by GitHub
parent f019e0e55a
commit c5b2b28721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,8 @@ class Component(Base, ABC):
# Check if the key is an event trigger.
if key in triggers:
state_name = kwargs["value"].name if kwargs.get("value", False) else ""
full_control = self.is_full_control(kwargs)
# Temporarily disable full control for event triggers.
full_control = False
kwargs["event_triggers"][key] = self._create_event_chain(
key, value, state_name, full_control
)