1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

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

@@ -31,7 +31,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: