From 5256e26b6aa57a796f75ee4ec77a93491eb8cf7d Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Tue, 7 Dec 2021 18:05:41 +0100 Subject: [PATCH] Fix incorrect docstring in automation trace code (#61168) --- homeassistant/helpers/trace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/helpers/trace.py b/homeassistant/helpers/trace.py index 8848be00e79..4332f34107c 100644 --- a/homeassistant/helpers/trace.py +++ b/homeassistant/helpers/trace.py @@ -216,7 +216,7 @@ def script_execution_set(reason: str) -> None: def script_execution_get() -> str | None: - """Return the current trace.""" + """Return the stop reason.""" if (data := script_execution_cv.get()) is None: return None return data.script_execution