mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Don't prevent automations from triggering themselves (#68178)
This commit is contained in:
@@ -1247,7 +1247,7 @@ class Script:
|
||||
and id(self) in script_stack
|
||||
):
|
||||
script_execution_set("disallowed_recursion_detected")
|
||||
_LOGGER.warning("Disallowed recursion detected")
|
||||
self._log("Disallowed recursion detected", level=logging.WARNING)
|
||||
return
|
||||
|
||||
if self.script_mode != SCRIPT_MODE_QUEUED:
|
||||
|
||||
Reference in New Issue
Block a user