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
3 changed files with 7 additions and 8 deletions

View File

@@ -57,7 +57,7 @@ class AuthPhase:
self,
logger: WebSocketAdapter,
hass: HomeAssistant,
send_message: Callable[[str | dict[str, Any] | Callable[[], str]], None],
send_message: Callable[[str | dict[str, Any]], None],
cancel_ws: CALLBACK_TYPE,
request: Request,
) -> None: