Update Birth_will MQTT component configuration (#7380)

This commit is contained in:
Klaas Schoute 2018-11-06 08:16:13 +01:00 committed by Fabian Affolter
parent 9899c4c817
commit 7da774c0e9

View File

@ -25,15 +25,51 @@ mqtt:
payload: 'offline' payload: 'offline'
``` ```
Configuration variables: {% configuration %}
birth_message:
- **birth_message** (*Optional*): description: Birth Message.
- **topic** (*Required*): The MQTT topic to publish the message. required: false
- **payload** (*Required*): The message content. type: list
- **qos** (*Optional*): The maximum QoS level of the topic. Default is 0. keys:
- **retain** (*Optional*): If the published message should have the retain flag on or not. Defaults to `True`. topic:
- **will_message** (*Optional*): description: The MQTT topic to publish the message.
- **topic** (*Required*): The MQTT topic to publish the message. required: true
- **payload** (*Required*): The message content. type: string
- **qos** (*Optional*): The maximum QoS level of the topic. Default is 0. payload:
- **retain** (*Optional*): If the published message should have the retain flag on or not. Defaults to `True`. description: The message content.
required: true
type: string
qos:
description: The maximum QoS level of the topic.
required: false
default: 0
type: integer
retain:
description: If the published message should have the retain flag on or not.
required: false
default: true
type: boolean
will_message:
description: Will Message
required: false
type: list
keys:
topic:
description: The MQTT topic to publish the message.
required: true
type: string
payload:
description: The message content.
required: true
type: string
qos:
description: The maximum QoS level of the topic.
required: false
default: 0
type: integer
retain:
description: If the published message should have the retain flag on or not.
required: false
default: true
type: boolean
{% endconfiguration %}