Add option to have different log level over MQTT (#51)

This commit is contained in:
Otto Winter 2018-10-14 18:46:25 +02:00 committed by GitHub
parent 12edde2485
commit be3d80a664
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions

View File

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