Correct type of MQTT optimistic configuration (#19267)

* Correct type of MQTT optimistic configuration

* Update lock.mqtt.markdown

* Update light.mqtt.markdown
This commit is contained in:
Erik Montnemery 2021-09-09 18:38:21 +02:00 committed by GitHub
parent 6a99fbe190
commit 35f1f918d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.