Fix history not including start time state (#70447)

pull/70543/head^2
J. Nick Koston 2022-04-24 11:34:00 -10:00 committed by GitHub
parent b15387ffb9
commit 022deb20fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ def _get_states_with_session(
if (
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
):
# History did not run before utc_point_in_time