mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 02:19:31 +00:00
Fix callback and async (#31281)
* Fix callback and async * Fix a return * Fix test * Fix mqtt tests * Fix some more callbacks
This commit is contained in:
@@ -214,6 +214,7 @@ class Script:
|
||||
"""Stop running script."""
|
||||
run_callback_threadsafe(self.hass.loop, self.async_stop).result()
|
||||
|
||||
@callback
|
||||
def async_stop(self) -> None:
|
||||
"""Stop running script."""
|
||||
if self._cur == -1:
|
||||
|
||||
Reference in New Issue
Block a user