Add option to have different log level over MQTT (#51)
This commit is contained in:
parent
12edde2485
commit
be3d80a664
|
@ -83,8 +83,8 @@ It is used in several places like last will and birth messages or MQTT log optio
|
|||
|
||||
Configuration options:
|
||||
|
||||
- **topic** (*Required*, string): The MQTT topic to publish the message.
|
||||
- **payload** (*Required*, string): The message content. Will be filled by the actual payload with some
|
||||
- **topic** (**Required**, string): The MQTT topic to publish the message.
|
||||
- **payload** (**Required**, string): The message content. Will be filled by the actual payload with some
|
||||
options, like log_topic.
|
||||
- **qos** (*Optional*, int): The `Quality of
|
||||
Service <https://www.hivemq.com/blog/mqtt-essentials-part-6-mqtt-quality-of-service-levels>`__
|
||||
|
@ -93,6 +93,11 @@ Configuration options:
|
|||
have a retain flag on or not. Defaults to ``True``.
|
||||
|
||||
|
||||
The ``log_topic`` has an additional configuration option:
|
||||
|
||||
- **level** (*Optional*, string): The log level to use for MQTT logs. See
|
||||
:ref:`logger-log_levels` for options.
|
||||
|
||||
Using with Home Assistant
|
||||
-------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue