TARIFF-30: wind-down hold released when the meter exports; rows for release and maintenance; Dutch texts

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Claude (dev)
2026-12-06 18:58:20 +01:00
parent effcfd0ca5
commit 008ae722d0
4 changed files with 116 additions and 9 deletions
+5 -1
View File
@@ -141,7 +141,11 @@ class TradeMixin:
elif names:
if until is None:
until = now + timedelta(seconds=self.LOSSY_WIND_S)
if now >= until or float(self.target or 0.0) >= 0.0:
# The tail is a charge FROM the grid: the meter still imports.
# A negative target with the meter exporting is the loop soaking
# a surplus, which is not the trade's and is never held.
exporting = self.grid is not None and float(self.grid) <= 0.0
if now >= until or float(self.target or 0.0) >= 0.0 or exporting:
names, until = frozenset(), None
self._lossy_hold = (names, until)
if len(self.inverters) <= 1:
+1 -1
View File
@@ -2013,7 +2013,7 @@ LABELS_NL = {
"max_w": "Vermogen van de omvormer",
"bms_soc_floor": "Uitschakelniveau van de batterij",
"capacity_kwh": "Bruikbare capaciteit",
"round_trip_eff": "Rendement heen en terug",
"round_trip_eff": "Heen-en-terugrendement",
"inverters": "Lijst met omvormers",
"name": "Naam",
"meter_source": "Waar de meterstand vandaan komt",