Revert "feat(dashboard): send the glucose card in the owner's glucose unit"

This reverts commit 9455b64375.
This commit is contained in:
Marc-André Bombeck committed 2026-10-03 23:03:02 +02:00
1 parent 3a99c8cfee
commit d644db1975
6 files changed
+4 -126

No files matched your search

+2 -4
View File
@@ -71896,10 +71896,8 @@ components:
anyOf:
- type: string
- type: "null"
description: "Explicit unit token. When set it wins over `unitKey`. Set on the `sleep` card (`h`, because its value is a
per-night total in hours rather than the canonical SLEEP_DURATION minutes) and, since v1.40.0, on the
`glucose` card: the record owner's glucose unit (`mg/dL` or `mmol/L`), with `latestValue`, `secondaryValue`
and `sparkline` converted to it (mmol/L to one decimal). Null on every other kind."
description: Explicit unit token, set only on the `sleep` card (`h`, because its value is a per-night total in hours
rather than the canonical SLEEP_DURATION minutes). Null on every other kind.
sleepStages:
anyOf:
- type: object