def test_get_significant_states(hass_history):
    'Test that only significant states are returned.\n\n    We should get back every thermostat change that\n    includes an attribute change, but only the state updates for\n    media player (attribute changes are not significant and not returned).\n    '
    hass = hass_history
    (zero, four, states) = record_states(hass)
    hist = get_significant_states(hass, zero, four, filters=history.Filters())
    assert (states == hist)
Test that only significant states are returned.

We should get back every thermostat change that
includes an attribute change, but only the state updates for
media player (attribute changes are not significant and not returned).
def test_get_significant_states(hass_history):
    'Test that only significant states are returned.\n\n    We should get back every thermostat change that\n    includes an attribute change, but only the state updates for\n    media player (attribute changes are not significant and not returned).\n    '
    hass = hass_history
    (zero, four, states) = record_states(hass)
    hist = get_significant_states(hass, zero, four, filters=history.Filters())
    assert (states == hist)