mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 18:05:48 +01:00
Using the locals parameter makes it so that the code of a Python script runs as if it were in the body of a ``class``. One effect of this is that functions defined as part of a script cannot call one another directly. Fixes: #24704, #13653