Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Dec 10, 2024
1 parent c3f497e commit 4112d67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/image/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ async def _write_frame() -> bool:
# While this results in additional bandwidth usage,
# given the low frequency of image updates, it is acceptable.
frame.extend(frame)
await response.write(frame)
await response.write(frame) # type: ignore[arg-type]
return True

event = asyncio.Event()
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/mqtt/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@

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(
Expand Down

0 comments on commit 4112d67

Please sign in to comment.