mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-28 22:42:05 +01:00
Add clean_session as configurable option to the MQTT component (#4284)
Co-authored-by: victorclaessen <victor@victorclaessen.nl>
This commit is contained in:
parent
d0c2ca35bb
commit
d15934bffe
@ -39,6 +39,8 @@ Configuration variables:
|
||||
authentication. Empty (the default) means no authentication.
|
||||
- **password** (*Optional*, string): The password to use for
|
||||
authentication. Empty (the default) means no authentication.
|
||||
- **clean_session** (*Optional*, boolean): Whether the broker will clean
|
||||
the MQTT session after disconnect. Defaults to ``false``.
|
||||
- **client_id** (*Optional*, string): The client id to use for opening
|
||||
connections. See :ref:`mqtt-defaults` for more information.
|
||||
- **discover_ip** (*Optional*, boolean): If Home Assistant automatic device
|
||||
|
Loading…
Reference in New Issue
Block a user