New Roof in 2021-Asset or Home Repair?

I had originally put in my new roof cost as a home repair for my home business and got a nice refund amount for it.

Then I was told the roof should be put in Assets for depreciation but when I did, I lost that big chunk and instead got $3 back.

Is Assets really where I should be putting this and not in repairs?

Is there a long game here?