Skip to content

Commit 15d3ca7

Browse files
committed
kwarg type hints
1 parent 7ac8a56 commit 15d3ca7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

appdaemon/adapi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,7 +1361,7 @@ async def listen_state(
13611361
oneshot: bool = False,
13621362
pin: bool = False,
13631363
pin_thread: int | None = None,
1364-
**kwargs
1364+
**kwargs: Any
13651365
) -> str | list[str]:
13661366
"""Registers a callback to react to state changes.
13671367
@@ -1798,7 +1798,7 @@ async def call_service(
17981798
namespace: str | None = None,
17991799
timeout: str | int | float | None = None, # Used by utils.sync_decorator
18001800
callback: Callable[[Any], Any] | None = None,
1801-
**data: dict[str, Any] | None,
1801+
**data: Any,
18021802
) -> Any:
18031803
"""Calls a Service within AppDaemon.
18041804

0 commit comments

Comments
 (0)