Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cdce8p committed Dec 14, 2024
1 parent ec1d85f commit 690aca8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/axis/hub/event_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _mqtt_message(self, message: ReceiveMessage) -> None:
if message.topic.endswith("event/connection"):
return

event = mqtt_json_to_event(message.payload)
event = mqtt_json_to_event(message.payload) # type: ignore[arg-type]
self.api.event.handler(event)

@callback
Expand Down
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

0 comments on commit 690aca8

Please sign in to comment.