From f1c29c9bfc50a3833e4505aae41284a638f8fb87 Mon Sep 17 00:00:00 2001 From: John Doe Date: Mon, 1 Feb 2021 11:03:28 +0800 Subject: [PATCH] Flag "readOnly": true some fields (#6016) --- lib/util/settings.schema.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/util/settings.schema.json b/lib/util/settings.schema.json index f52097b2a..e653ebed3 100644 --- a/lib/util/settings.schema.json +++ b/lib/util/settings.schema.json @@ -287,7 +287,8 @@ "type": "number", "minimum": 0, "title": "Soft reset timeout (deprecated)", - "description": "Soft reset ZNP after timeout" + "description": "Soft reset ZNP after timeout", + "readOnly": true }, "network_key": { "oneOf": [{ @@ -473,7 +474,8 @@ "friendly_name": { "type": "string", "title": "Friendly name", - "description": "Used in the MQTT topic of a device. By default this is the device ID" + "description": "Used in the MQTT topic of a device. By default this is the device ID", + "readOnly": true }, "retain": { "type": "boolean",