mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Add missing continue in legacy recorder history function (#113535)
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
This commit is contained in:
parent
3ba29c361a
commit
397bde4652
@ -814,6 +814,7 @@ def _sorted_states_to_dict(
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
prev_state = state
|
prev_state = state
|
||||||
|
continue
|
||||||
|
|
||||||
for row in group:
|
for row in group:
|
||||||
if (state := row[state_idx]) != prev_state:
|
if (state := row[state_idx]) != prev_state:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user