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:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user