From 565f051ffc924b4820968a293ccf08a42637c4d0 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sun, 25 May 2025 14:38:08 +0200 Subject: [PATCH] Fix aiohttp MockPayloadWriter (#145579) --- homeassistant/util/aiohttp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/util/aiohttp.py b/homeassistant/util/aiohttp.py index e5b319195ff..888da368053 100644 --- a/homeassistant/util/aiohttp.py +++ b/homeassistant/util/aiohttp.py @@ -42,7 +42,7 @@ class MockPayloadWriter: def enable_chunking(self) -> None: """Enable chunking.""" - async def send_headers(self, *args: Any, **kwargs: Any) -> None: + def send_headers(self, *args: Any, **kwargs: Any) -> None: """Write headers.""" async def write_headers(self, *args: Any, **kwargs: Any) -> None: