1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Fix open-ui cli arg (#26091)

* Fix open-ui cli command

* Align add_job typing with async_add_job
This commit is contained in:
Paulus Schoutsen
2019-08-20 12:43:50 -07:00
committed by Pascal Vizeli
parent f34b84a5cf
commit 5c91a6cd48
2 changed files with 5 additions and 23 deletions

View File

@@ -276,7 +276,7 @@ class HomeAssistant:
self.state = CoreState.running
_async_create_timer(self)
def add_job(self, target: Callable[..., None], *args: Any) -> None:
def add_job(self, target: Callable[..., Any], *args: Any) -> None:
"""Add job to the executor pool.
target: target to call.