From 0d59b52479d67a07fef341c0386249167126cd87 Mon Sep 17 00:00:00 2001 From: Jorge Schrauwen Date: Tue, 19 Jan 2021 17:39:46 +0100 Subject: [PATCH] Add missing devices options to settings.schema.json (#5823) Looks like a few more were missing that just debounce: https://github.com/Koenkk/zigbee2mqtt.io/blob/05fc32d8e09bf4cc1bccfc4acb8f618ce7ab3a22/docs/information/configuration.md#device-specific-configuration --- lib/util/settings.schema.json | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/lib/util/settings.schema.json b/lib/util/settings.schema.json index dc284baed..f52097b2a 100644 --- a/lib/util/settings.schema.json +++ b/lib/util/settings.schema.json @@ -490,6 +490,30 @@ "title": "QoS", "descritption": "QoS level for MQTT messages of this device" }, + "debounce": { + "type": "number", + "title": "Debounce", + "description": "Debounces messages of this device" + }, + "debounce_ignore": { + "type": "array", + "items": { + "type": "string" + }, + "examples": ["action"], + "title": "Ignore debounce", + "description": "Protects unique payload values of specified payload properties from overriding within debounce time" + }, + "retrieve_state": { + "type": "boolean", + "title": "Retrieve State", + "description": "Retrieves the state after setting it (Should only be enabled when the reporting feature does not work for this device)" + }, + "optimistic": { + "type": "boolean", + "title": "Optimistic", + "description": "Publish optimistic state after set (default true)" + }, "filtered_attributes": { "type": "array", "items": { @@ -533,4 +557,4 @@ "required": ["friendly_name"] } } -} \ No newline at end of file +}