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
44 changed files with 1570 additions and 1464 deletions

View File

@ -35,7 +35,9 @@ async def test_exclude_attributes(
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: