Growatt Inverter Mode Switch

If you Flash your shine or use an esp32 to communicate with the inverter you can easily add this as a switch in home assistant - I have been using this to plan charging, discharging etc. Biggest advantage: fully local and very quick response times.

ESPHome modbus Growatt ShineWiFi-S