Improve websocket throughput and reduce latency (#92967)

This commit is contained in:
J. Nick Koston
2023-05-13 00:13:57 +09:00
committed by GitHub
parent 9a70f47049
commit 8711735ec0
4 changed files with 120 additions and 47 deletions

View File

@ -715,7 +715,7 @@ def handle_supported_features(
hass: HomeAssistant, connection: ActiveConnection, msg: dict[str, Any]
) -> None:
"""Handle setting supported features."""
connection.supported_features = msg["features"]
connection.set_supported_features(msg["features"])
connection.send_result(msg["id"])