From 2470abcc86c56c4b0792f07fea55ac4a0b6fd067 Mon Sep 17 00:00:00 2001 From: Laurent Nullens Date: Fri, 20 Aug 2021 17:00:35 +0200 Subject: [PATCH] docs: owm units enum added to schema.json Co-authored-by: Jan De Dobbeleer <2492783+JanDeDobbeleer@users.noreply.github.com> --- themes/schema.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/themes/schema.json b/themes/schema.json index aecef061..f2e23301 100644 --- a/themes/schema.json +++ b/themes/schema.json @@ -1559,7 +1559,12 @@ "type": "string", "title": "units", "description": "Units of measurement. Available values are standard (kelvin), metric (celsius), and imperial (fahrenheit). Default is standard", - "default": "standard" + "default": "standard", + "enum": [ + "standard", + "metric", + "imperial" + ] }, "enable_hyperlink": { "$ref": "#/definitions/enable_hyperlink"