mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Remove unnecessary use of async_run_job in script helper (#113118)
The function being passed to `async_run` was always a callback
This commit is contained in:
parent
17209525cb
commit
427de00524
@ -1600,7 +1600,7 @@ class Script:
|
||||
await self.async_stop(update_state=False, spare=run)
|
||||
|
||||
if started_action:
|
||||
self._hass.async_run_job(started_action)
|
||||
started_action()
|
||||
self.last_triggered = utcnow()
|
||||
self._changed()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user