Deduction of hot tub if bought 1 year before renta

I built a deck and bought a hot tub in December 2023 on my primary residence at that time. I started a short term rental on that property in 2024. Can I deduct the hot tub and deck (for the hot tub) from my tax deductions in 2024 for the rental property?