Require a list of entity ids when fetching history (#90992)

This commit is contained in:
J. Nick Koston 2023-04-08 16:14:44 -10:00 committed by GitHub
parent 667a00e7f9
commit d0d4ab6056
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
44 changed files with 1570 additions and 1464 deletions

View file

@ -25,7 +25,9 @@ async def test_exclude_attributes(recorder_mock: Recorder, hass: HomeAssistant)
await hass.async_block_till_done()
await async_wait_recording_done(hass)
states = await hass.async_add_executor_job(get_significant_states, hass, now)
states = await hass.async_add_executor_job(
get_significant_states, hass, now, None, hass.states.async_entity_ids()
)
assert len(states) >= 1
for entity_states in states.values():
for state in entity_states: