Do I deduct all of my insurance premium or a portion if I am renting out a room in my house?

I am renting out 1 room in my house which I also live in. Turbo tax is saying I can deduct the cost of insurance premiums, but it's not clear as to whether or not I deduct the full amount or if I can only deduct a portion based on how much of my house I rented out. I assume the latter is correct but I want to make sure if my thinking is accurate.