If the primary purpose of your trip was related to the rental property then yes and you can do it as many times as you went there. If you went let's say to Florida 3x and spent 3 weeks but, 1 day obseerving your rental, then no, you should then only take the days expenses, possibly some food.
I hope this was helpful, I do not work for TT.
**I don't work for TT. Just trying to help. All the best.
***Say "Thanks" by marking as BEST ANSWER and clicking the thumb icon in a post and that I solved your question
**Mark the post that answers your question by clicking on "Mark as Best Answer" I am NOT an expert and you should confirm with a tax expert.