Get your taxes done using TurboTax

According to the 2024 Instructions for Schedule CA (540), Line 7 - Capital Gain or (Loss), we are supposed to enter: "Gain or loss from the sale of investments inside an HSA."

 

I take that to mean only Realized gains.  Also, the HealthEquity tool referred to earlier is calculating realized gains or losses.