diff --git a/homeassistant/components/mqtt/client.py b/homeassistant/components/mqtt/client.py index 80667f812e03d7..830ab5380967b3 100644 --- a/homeassistant/components/mqtt/client.py +++ b/homeassistant/components/mqtt/client.py @@ -99,7 +99,7 @@ TIMEOUT_ACK = 10 RECONNECT_INTERVAL_SECONDS = 10 -type SocketType = socket.socket | ssl.SSLSocket | Any +type SocketType = socket.socket | ssl.SSLSocket | mqtt.WebsocketWrapper | Any type SubscribePayloadType = str | bytes # Only bytes if encoding is None