HRV baseline band from Garmin + dashboard HRV colours + route name on recent activities + sync-now race fix
This commit is contained in:
@@ -602,6 +602,10 @@ def _parse_day(stats, sleep_data, hrv_data) -> dict:
|
||||
status = summary.get("status")
|
||||
if status:
|
||||
row["hrv_status"] = str(status).lower()
|
||||
# Garmin's per-day balanced baseline range (the grey band in the app).
|
||||
baseline = summary.get("baseline") or {}
|
||||
_set(row, "hrv_baseline_low", baseline.get("balancedLow"))
|
||||
_set(row, "hrv_baseline_upper", baseline.get("balancedUpper"))
|
||||
|
||||
return row
|
||||
|
||||
|
||||
Reference in New Issue
Block a user