mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 18:28:14 +02:00
Allow bytearray for mqtt payload type (#132906)
This commit is contained in:
@ -119,7 +119,7 @@ MAX_PACKETS_TO_READ = 500
|
||||
|
||||
type SocketType = socket.socket | ssl.SSLSocket | mqtt.WebsocketWrapper | Any
|
||||
|
||||
type SubscribePayloadType = str | bytes # Only bytes if encoding is None
|
||||
type SubscribePayloadType = str | bytes | bytearray # Only bytes if encoding is None
|
||||
|
||||
|
||||
def publish(
|
||||
|
Reference in New Issue
Block a user