Cleanup: parameters: extra=forbid, optimize: battery, inverter optional (#361)

* Cleanup: parameters: extra=forbid, optimize: battery, inverter optional

 * Don't allow extra fields for parameters/REST-API (at least for now while
   changing API).
 * Allow both battery and inverter to be set optionally (atm optional
   battery not implemented, no API constraints).
 * inverter: Remove default max_power_wh
 * single_test_optimization: Add more cli-parameters

* Workflow docker-build: Don't try to authenticate for PRs

 * Secrets are not available anyway for forks.
This commit is contained in:
Dominique Lasserre
2025-01-13 21:44:17 +01:00
committed by GitHub
parent 745086c2eb
commit 9ad61f66b2
12 changed files with 119 additions and 109 deletions

View File

@@ -31,8 +31,8 @@
"initial_soc_percentage": 80,
"min_soc_percentage": 15
},
"wechselrichter": {
"max_leistung_wh": 10000
"inverter": {
"max_power_wh": 10000
},
"eauto": {
"capacity_wh": 60000,

View File

@@ -158,6 +158,9 @@
"initial_soc_percentage": 80,
"min_soc_percentage": 0
},
"inverter": {
"max_power_wh": 10000
},
"eauto": {
"capacity_wh": 60000,
"charging_efficiency": 0.95,