From 35f1f918d67fa7bde49d6c6a033fe8c8a42e0247 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Thu, 9 Sep 2021 18:38:21 +0200 Subject: [PATCH] Correct type of MQTT optimistic configuration (#19267) * Correct type of MQTT optimistic configuration * Update lock.mqtt.markdown * Update light.mqtt.markdown --- source/_integrations/cover.mqtt.markdown | 2 +- source/_integrations/light.mqtt.markdown | 2 +- source/_integrations/lock.mqtt.markdown | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_integrations/cover.mqtt.markdown b/source/_integrations/cover.mqtt.markdown index fc10d2fe405..89919b054ac 100644 --- a/source/_integrations/cover.mqtt.markdown +++ b/source/_integrations/cover.mqtt.markdown @@ -135,7 +135,7 @@ name: optimistic: description: Flag that defines if switch works in optimistic mode. required: false - type: string + type: boolean default: "`false` if state or position topic defined, else `true`." payload_available: description: The payload that represents the online state. diff --git a/source/_integrations/light.mqtt.markdown b/source/_integrations/light.mqtt.markdown index 7ea6f2b3697..82fa75eb152 100644 --- a/source/_integrations/light.mqtt.markdown +++ b/source/_integrations/light.mqtt.markdown @@ -904,7 +904,7 @@ name: optimistic: description: Flag that defines if the light works in optimistic mode. required: false - type: string + type: boolean default: "`true` if no state topic or state template is defined, else `false`." payload_available: description: The payload that represents the available state. diff --git a/source/_integrations/lock.mqtt.markdown b/source/_integrations/lock.mqtt.markdown index a5de9b1cf1c..f2b54c28c8a 100644 --- a/source/_integrations/lock.mqtt.markdown +++ b/source/_integrations/lock.mqtt.markdown @@ -122,7 +122,7 @@ name: optimistic: description: Flag that defines if lock works in optimistic mode. required: false - type: string + type: boolean default: "`true` if no `state_topic` defined, else `false`." payload_available: description: The payload that represents the available state.