This is my list of automations used for my Huawei Solar Power.
I'm currently having a 10kW battery.
I use TOU mode to charge my battery with the EV Smart Charging integration and use Maximum Self Consumption for when I'm using the battery to power house grid.
TOU needs to be set to charge all days from 00:00 to 23:59 so when you switch to TOU mode, the battery will imeditately begin charging.
Unfortunately the "Charge from grid" switch does not force the battery to charge when you are in MSC mode and this is why I use this setup.
My settings of EV Smart Charging for my Huawei Solar Battery: