The previously used forced-mode does not allow charging the battery if enough solar is available.
Instead, we should limit the battery max discharge power which effectively stops discharging but still allows for charging.
This workaround is based on the HA script from here: e8142fce09/modbus_sungrow.yaml (L3315)
* Translated using Weblate (Ukrainian)
Currently translated at 100.0% (712 of 712 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (715 of 715 strings)
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (714 of 714 strings)
Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/uk/
Translation: evcc/evcc
* Translated using Weblate (Finnish)
Currently translated at 100.0% (714 of 714 strings)
Co-authored-by: Joni Lehtola <joni.lehtola+github@iki.fi>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/fi/
Translation: evcc/evcc
* Translated using Weblate (Hungarian)
Currently translated at 99.8% (713 of 714 strings)
Co-authored-by: interstart <toth.zoltan@hotmail.hu>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/hu/
Translation: evcc/evcc
* Translated using Weblate (Lithuanian)
Currently translated at 100.0% (712 of 712 strings)
Translated using Weblate (Lithuanian)
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (Lithuanian)
Currently translated at 100.0% (715 of 715 strings)
Translated using Weblate (Lithuanian)
Currently translated at 100.0% (714 of 714 strings)
Co-authored-by: RTTTC <94727758+RTTTC@users.noreply.github.com>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/lt/
Translation: evcc/evcc
* Translated using Weblate (Slovenian)
Currently translated at 100.0% (714 of 714 strings)
Translated using Weblate (Slovenian)
Currently translated at 100.0% (714 of 714 strings)
Translated using Weblate (Slovenian)
Currently translated at 97.6% (697 of 714 strings)
Translated using Weblate (Slovenian)
Currently translated at 97.3% (695 of 714 strings)
Translated using Weblate (Slovenian)
Currently translated at 93.6% (669 of 714 strings)
Co-authored-by: Žiga Deisinger <ziga@deisinger.si>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/sl/
Translation: evcc/evcc
* Translated using Weblate (Danish)
Currently translated at 100.0% (714 of 714 strings)
Co-authored-by: amtssp <amtssp@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/da/
Translation: evcc/evcc
* Translated using Weblate (Swedish)
Currently translated at 99.5% (709 of 712 strings)
Translated using Weblate (Swedish)
Currently translated at 99.5% (713 of 716 strings)
Translated using Weblate (Swedish)
Currently translated at 99.7% (712 of 714 strings)
Co-authored-by: Jonas Gate <tidy.koala8317@brot.se>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/sv/
Translation: evcc/evcc
* Translated using Weblate (Turkish)
Currently translated at 100.0% (716 of 716 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (714 of 714 strings)
Translated using Weblate (Turkish)
Currently translated at 96.4% (689 of 714 strings)
Translated using Weblate (Turkish)
Currently translated at 96.2% (687 of 714 strings)
Translated using Weblate (Turkish)
Currently translated at 94.1% (672 of 714 strings)
Co-authored-by: aerucu <abdulkadir@erucu.de>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/tr/
Translation: evcc/evcc
* Translated using Weblate (French)
Currently translated at 100.0% (716 of 716 strings)
Co-authored-by: FraBoCH <fraboch@proton.me>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/fr/
Translation: evcc/evcc
* Translated using Weblate (German)
Currently translated at 100.0% (712 of 712 strings)
Translated using Weblate (German)
Currently translated at 99.8% (711 of 712 strings)
Co-authored-by: Maschga <delphi@freenet.de>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/de/
Translation: evcc/evcc
* Translated using Weblate (Luxembourgish)
Currently translated at 100.0% (712 of 712 strings)
Translated using Weblate (French)
Currently translated at 100.0% (712 of 712 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (712 of 712 strings)
Co-authored-by: Filipe Lima <filipe.limadacunha@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/fr/
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/lb/
Translate-URL: https://hosted.weblate.org/projects/evcc/evcc/pt/
Translation: evcc/evcc
* fix toml
---------
Co-authored-by: Максим Горпиніч <maksimgorpinic2005a@gmail.com>
Co-authored-by: Joni Lehtola <joni.lehtola+github@iki.fi>
Co-authored-by: interstart <toth.zoltan@hotmail.hu>
Co-authored-by: RTTTC <94727758+RTTTC@users.noreply.github.com>
Co-authored-by: Žiga Deisinger <ziga@deisinger.si>
Co-authored-by: amtssp <amtssp@gmail.com>
Co-authored-by: Jonas Gate <tidy.koala8317@brot.se>
Co-authored-by: aerucu <abdulkadir@erucu.de>
Co-authored-by: FraBoCH <fraboch@proton.me>
Co-authored-by: Maschga <delphi@freenet.de>
Co-authored-by: Filipe Lima <filipe.limadacunha@outlook.com>
Co-authored-by: premultiply <4681172+premultiply@users.noreply.github.com>