And it goes without saying I think, but I would NOT hook up the panel directly to the Power HAT, the voltage is all over the place depending on sun, but the charge controller with a Lead Acid battery attached should give you a pretty constant current.
I just posted this question, a minor issue I’ve been seeing: Power HAT briefly discharges backup battery?