mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 05:50:13 +00:00
String formatting and max line length - Part 7 (#84532)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
@@ -84,7 +84,10 @@ def find_coordinates(
|
||||
recursion_history.append(name)
|
||||
if entity_state.state in recursion_history:
|
||||
_LOGGER.error(
|
||||
"Circular reference detected while trying to find coordinates of an entity. The state of %s has already been checked",
|
||||
(
|
||||
"Circular reference detected while trying to find coordinates of an"
|
||||
" entity. The state of %s has already been checked"
|
||||
),
|
||||
entity_state.state,
|
||||
)
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user