Variable power to PV switch


I have a hot water tank with a PV switch that can be powered via solar. Normal people but a wireless solar iboost that reads CT clamp export data and according gives X amps to the PV switch.

I want to save money and use home assistant to monitor my export energy via a hybrid investor (already done) and then adjust the amps on a scale controlled by homeassist in relation to how much is being export.

I have no idea what I need, but after some Searching it might be a solid state relay? But it must be smart… I’m a little lost.

Is this one of these “SG ready” switches?
If so a relay and an esp would suffice. You will, however, only be able to tell your watertank there is power available, but not define how much exactly.