mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Fix history not including start time state (#70447)
This commit is contained in:
parent
b15387ffb9
commit
022deb20fd
@ -456,7 +456,7 @@ def _get_states_with_session(
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
run is None
|
run is None
|
||||||
and (run := (recorder.run_information_from_instance(hass, utc_point_in_time)))
|
and (run := (recorder.run_information_with_session(session, utc_point_in_time)))
|
||||||
is None
|
is None
|
||||||
):
|
):
|
||||||
# History did not run before utc_point_in_time
|
# History did not run before utc_point_in_time
|
||||||
|
Loading…
x
Reference in New Issue
Block a user