mirror of
https://github.com/home-assistant/core.git
synced 2025-07-30 16:57:19 +00:00
Fix threading error in scripts with repeat or choose actions (#62168)
This commit is contained in:
parent
614529d7c3
commit
c445e93d45
@ -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…
x
Reference in New Issue
Block a user