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.