1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

String formatting and max line length - Part 7 (#84532)

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
Franck Nijhof
2022-12-27 11:18:56 +01:00
committed by GitHub
parent 3149c52be1
commit d4f69a3652
40 changed files with 249 additions and 110 deletions

View File

@@ -716,7 +716,10 @@ async def _handle_entity_call(
if asyncio.iscoroutine(result):
_LOGGER.error(
"Service %s for %s incorrectly returns a coroutine object. Await result instead in service handler. Report bug to integration author",
(
"Service %s for %s incorrectly returns a coroutine object. Await result"
" instead in service handler. Report bug to integration author"
),
func,
entity.entity_id,
)