'Test that only significant states are returned for one entity.'

def test_get_significant_states_entity_id(self):

    (zero, four, states) = self.record_states()
    del states['media_player.test2']
    del states['thermostat.test']
    del states['thermostat.test2']
    del states['script.can_cancel_this_one']
    hist = history.get_significant_states(self.hass, zero, four, 'media_player.test', filters=history.Filters())
    assert (states == hist)
