mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-12-13 23:36:20 +00:00
min_soc (was killed by someone else, pls dont force push!)
This commit is contained in:
@@ -228,6 +228,10 @@ def flask_optimize():
|
||||
parameter=parameter, start_hour=datetime.now().hour
|
||||
)
|
||||
|
||||
# Optional min SoC PV Battery
|
||||
if "min_soc_prozent" not in parameter:
|
||||
parameter["min_soc_prozent"] = None
|
||||
|
||||
return jsonify(result) # Return optimization results as JSON
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user