Not sure which states I need to file taxes in?

I live outside the USA most of the year in 2017. I am paid by a USA based company out of Georgia. I lived in the USA from April 1 thru August 4, 2017. My mailing address in the US is CT based (my parents house), but while back stateside spent 30 days in CT at my parents house and the rest of the time was spent visiting friends and family in other states. I had a temporary job in Kansas City, MO for one week in June. Not sure which states if any I need to pay state taxes for? Please advise