mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Update mypy-dev to 1.11.0a2 (#117630)
This commit is contained in:
@@ -1048,7 +1048,7 @@ async def _handle_entity_call(
|
||||
result = await task
|
||||
|
||||
if asyncio.iscoroutine(result):
|
||||
_LOGGER.error(
|
||||
_LOGGER.error( # type: ignore[unreachable]
|
||||
(
|
||||
"Service %s for %s incorrectly returns a coroutine object. Await result"
|
||||
" instead in service handler. Report bug to integration author"
|
||||
|
||||
Reference in New Issue
Block a user