mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 15:47:12 +00:00
Fix history not including start time state (#70447)
This commit is contained in:
parent
c7ff4baa6b
commit
6f6b16b410
@ -395,7 +395,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