Improve msg type hint in websocket commands (#80530)
This commit is contained in:
parent
76bd8c431b
commit
5442d6af01
21 changed files with 128 additions and 104 deletions
|
@ -61,7 +61,7 @@ def with_store(orig_func: Callable) -> Callable:
|
|||
async def websocket_set_user_data(
|
||||
hass: HomeAssistant,
|
||||
connection: ActiveConnection,
|
||||
msg: dict,
|
||||
msg: dict[str, Any],
|
||||
store: Store,
|
||||
data: dict[str, Any],
|
||||
) -> None:
|
||||
|
@ -82,7 +82,7 @@ async def websocket_set_user_data(
|
|||
async def websocket_get_user_data(
|
||||
hass: HomeAssistant,
|
||||
connection: ActiveConnection,
|
||||
msg: dict,
|
||||
msg: dict[str, Any],
|
||||
store: Store,
|
||||
data: dict[str, Any],
|
||||
) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue