I'm not sure what the best way to handle a new water heater purchase in 2024 if I might sell this property in the next couple years. Should I deduct the full amount now?

I bought this water heater 12/30/2024. The recommendation on the deduction is confusing to me. Please advise.