Skip to content

Commit

Permalink
Add clean_session as configurable option to the MQTT component (#4280)
Browse files Browse the repository at this point in the history
  • Loading branch information
victorclaessen authored and jesserockz committed Sep 26, 2024
1 parent d0c2ca3 commit fd70f87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/mqtt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd70f87

Please sign in to comment.