1
0
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:
Erik Montnemery
2022-03-15 18:48:54 +01:00
committed by GitHub
parent b99934f62f
commit 46f27fdefd
4 changed files with 212 additions and 6 deletions

View File

@@ -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: