Solaredge Modbus Multi, Zappi Charger and Octopus (UK) electricity supplier

Greetings all.

I have a Solaredge inverter and 10 kWh battery properly set up with the Solaredge Modbus Multi on Home Assistant. I have a Zappi car charger.

When the Octopus charges the car, the battery contributes to the car charge, ie the battery discharges, and I would like to stop it doing this.

The problem is that there are no ‘actions’ in the Solaredge Modbus Multi integration so if this can be done at all it would need to be done using raw YAML of which I have no experience. Various paragraphs of code have been suggested on this blog, but my knowledge of YAML is not sufficient for me to be able to integrate them.

Has anyone done this already and has code they would share, with a few baby instructions for its incorporation?

Many thanks in advance.

Is there a command or setting through the solaredge modbus integration to stop the battery from discharging? I also have a solaredge 10kw but not a battery yet and I’m also interested in how this can be achieved.

Did you enable the “Power control” option in the integration configuration?

Yes, it is all enabled but the integration is written without actions so it needs to be YAML - of which I have inadequate knowledge.

Then I don’t know what you mean.

I have both configuration entities and device actions