def test_get_significant_states_multiple_entity_ids(hass_history):
    'Test that only significant states are returned for one entity.'
    hass = hass_history
    (zero, four, states) = record_states(hass)
    del states['media_player.test2']
    del states['media_player.test3']
    del states['thermostat.test2']
    del states['script.can_cancel_this_one']
    hist = get_significant_states(hass, zero, four, ['media_player.test', 'thermostat.test'], filters=history.Filters())
    assert (states == hist)
Test that only significant states are returned for one entity.
def test_get_significant_states_multiple_entity_ids(hass_history):
    
    hass = hass_history
    (zero, four, states) = record_states(hass)
    del states['media_player.test2']
    del states['media_player.test3']
    del states['thermostat.test2']
    del states['script.can_cancel_this_one']
    hist = get_significant_states(hass, zero, four, ['media_player.test', 'thermostat.test'], filters=history.Filters())
    assert (states == hist)