Add clean_session as configurable option to the MQTT component (#4284)

Co-authored-by: victorclaessen <victor@victorclaessen.nl>
This commit is contained in:
Jesse Hills 2024-09-27 10:05:48 +12:00 committed by GitHub
parent d0c2ca35bb
commit d15934bffe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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