mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Fix incorrect docstring in automation trace code (#61168)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user