Another option would be to use my blueprint/script for PV excess automation. That should work for your Tesla (or wallbox) too.
See https://community.home-assistant.io/t/pv-solar-excess-optimizer-auto-control-appliances-wallbox-dish-washer-heatpump-based-on-excess-solar-power/
1 Like