Skip to content

Commit

Permalink
Fix missing type for mqtt websocket wrapper (home-assistant#117752)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored and bajansen committed May 20, 2024
1 parent ff10e6f commit 078c3ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/mqtt/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 078c3ff

Please sign in to comment.