Remove the ability to defer websocket message construction (#96734)

This was added in #71364 but all use cases of it were refactored
away so it can now be removed
This commit is contained in:
J. Nick Koston 2023-07-16 20:41:39 -10:00 committed by GitHub
parent d553a749a0
commit d242eaa375
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 8 deletions

View file

@ -51,7 +51,7 @@ class ActiveConnection:
self,
logger: WebSocketAdapter,
hass: HomeAssistant,
send_message: Callable[[str | dict[str, Any] | Callable[[], str]], None],
send_message: Callable[[str | dict[str, Any]], None],
user: User,
refresh_token: RefreshToken,
) -> None: