This is annoying approach. Mine is not Powerwall so I have to try to play with HAs scripts to only charge battery on excess solar - I have far more panels than I can export, and inverter (Deye) can only handle so much AC so excess DC needs to go into batteries.

Trouble is you don't really know how much excess power you've got until you crank up battery charge current.