Fix threading error in scripts with repeat or choose actions (#62168)
This commit is contained in:
parent
85c122f3e5
commit
112e259437
1 changed files with 1 additions and 0 deletions
|
@ -1052,6 +1052,7 @@ class Script:
|
|||
if self._change_listener_job:
|
||||
self._hass.async_run_hass_job(self._change_listener_job)
|
||||
|
||||
@callback
|
||||
def _chain_change_listener(self, sub_script: Script) -> None:
|
||||
if sub_script.is_running:
|
||||
self.last_action = sub_script.last_action
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue