Add websocket type hints in components (#80654)

* Add websocket type hints in components

* Adjust

* Apply suggestion

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
This commit is contained in:
epenet 2022-10-20 13:41:14 +02:00 committed by GitHub
parent ae7eb9cef9
commit 2c43606922
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 116 additions and 40 deletions

View file

@ -185,7 +185,7 @@ async def ws_validate(
async def ws_solar_forecast(
hass: HomeAssistant,
connection: websocket_api.ActiveConnection,
msg: dict,
msg: dict[str, Any],
manager: EnergyManager,
) -> None:
"""Handle solar forecast command."""