Merge readme with listen to default HA birth message PR

This commit is contained in:
Victor Hagelbäck 2021-01-30 09:54:40 +01:00
parent 33bda6ec56
commit 20b64c9acb

View file

@ -106,7 +106,7 @@ If you restore a backup from a 32bit system to a new 64bit system, use the Rebui
### Configuration ### Configuration
You need to add the following to your `configuration.yaml` file: You need to add the MQTT integration to Home Assistant either by going to Configuration -> Integrations and clicking the Add Integration button, or by adding the following to your `configuration.yaml` file:
``` ```
mqtt: mqtt:
@ -115,15 +115,9 @@ mqtt:
password: !secret mqtt_password password: !secret mqtt_password
discovery: true discovery: true
discovery_prefix: homeassistant discovery_prefix: homeassistant
birth_message:
topic: 'hass/status'
payload: 'online'
will_message:
topic: 'hass/status'
payload: 'offline'
``` ```
The above is used to notify the add-on when Home Assistant has started successfully and let the add-on send the discovery response (containing all devices). The above is used to notify the add-on when Home Assistant has started successfully and let the add-on send the discovery response (containing information about all Plejd devices found).
The plugin needs you to configure some settings before working. You find these on the Add-on page after you've installed it. The plugin needs you to configure some settings before working. You find these on the Add-on page after you've installed it.