In that case, it means "You were trouble when you entered."
Although, that sentence is awkward. I would say something like:
"You were trouble from the moment you walked in." or
"You were trouble from the day you walked in to my life."
Trouble here means source of trouble.