Flag "readOnly": true some fields (#6016)

This commit is contained in:
John Doe 2021-02-01 11:03:28 +08:00 committed by GitHub
parent 3918b33e2d
commit f1c29c9bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -287,7 +287,8 @@
"type": "number", "type": "number",
"minimum": 0, "minimum": 0,
"title": "Soft reset timeout (deprecated)", "title": "Soft reset timeout (deprecated)",
"description": "Soft reset ZNP after timeout" "description": "Soft reset ZNP after timeout",
"readOnly": true
}, },
"network_key": { "network_key": {
"oneOf": [{ "oneOf": [{
@ -473,7 +474,8 @@
"friendly_name": { "friendly_name": {
"type": "string", "type": "string",
"title": "Friendly name", "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": { "retain": {
"type": "boolean", "type": "boolean",