Deploy 0.13.0 to master #166

Merged
admin merged 161 commits from deploy-0.13.0 into master 2026-10-02 15:26:47 +02:00
2 changed files with 6 additions and 7 deletions
Showing only changes of commit f1a660881c - Show all commits
+2 -2
View File
@@ -433,9 +433,9 @@ def fill_from_yesterday(read: PriceRead, *, yesterday: PriceRead,
# hours" about a 48-hour horizon. The fill's unit is the HOUR and the
# feed's is the POINT; nothing derived from one answers for the other.
total_h = len({_utc_hour(p.start) for p in out})
_LOG.info("%s of %d use yesterday's prices, marked as estimated. "
_LOG.info("%d of %s use yesterday's prices, marked as estimated. "
"The feed published %s over the other %s.",
messages.count(carried, "hour"), total_h,
carried, messages.count(total_h, "hour"),
messages.count(len(out) - carried, "price"),
messages.count(total_h - carried, "hour"))
+4 -5
View File
@@ -547,13 +547,12 @@ def migrate_maint_keys(store, unit: str, roster) -> MigrationReport:
names = [str(n) for n in roster]
rep.from_version = int(data.get(MAINT_SCHEMA_KEY, 0) or 0)
if len(names) <= 1:
rep.skipped = ("one inverter, so its maintenance history is read "
"where it is and nothing moves")
rep.skipped = ("one inverter, so it is read where it is and nothing "
"moves")
return rep
if rep.from_version >= MAINT_SCHEMA_VERSION:
rep.skipped = (f"maintenance history already at version "
f"{rep.from_version}, written for several inverters, so "
f"it is left as it is")
rep.skipped = (f"already at version {rep.from_version}, written for "
f"several inverters, so it is left as it is")
return rep
rep.ran = True