String formatting and max line length - Part 7 (#84532)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
3149c52be1
commit
d4f69a3652
40 changed files with 249 additions and 110 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue