mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
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:
parent
6a99fbe190
commit
35f1f918d6
@ -135,7 +135,7 @@ name:
|
|||||||
optimistic:
|
optimistic:
|
||||||
description: Flag that defines if switch works in optimistic mode.
|
description: Flag that defines if switch works in optimistic mode.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: boolean
|
||||||
default: "`false` if state or position topic defined, else `true`."
|
default: "`false` if state or position topic defined, else `true`."
|
||||||
payload_available:
|
payload_available:
|
||||||
description: The payload that represents the online state.
|
description: The payload that represents the online state.
|
||||||
|
@ -904,7 +904,7 @@ name:
|
|||||||
optimistic:
|
optimistic:
|
||||||
description: Flag that defines if the light works in optimistic mode.
|
description: Flag that defines if the light works in optimistic mode.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: boolean
|
||||||
default: "`true` if no state topic or state template is defined, else `false`."
|
default: "`true` if no state topic or state template is defined, else `false`."
|
||||||
payload_available:
|
payload_available:
|
||||||
description: The payload that represents the available state.
|
description: The payload that represents the available state.
|
||||||
|
@ -122,7 +122,7 @@ name:
|
|||||||
optimistic:
|
optimistic:
|
||||||
description: Flag that defines if lock works in optimistic mode.
|
description: Flag that defines if lock works in optimistic mode.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: boolean
|
||||||
default: "`true` if no `state_topic` defined, else `false`."
|
default: "`true` if no `state_topic` defined, else `false`."
|
||||||
payload_available:
|
payload_available:
|
||||||
description: The payload that represents the available state.
|
description: The payload that represents the available state.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user