mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 10:28:33 -07:00
Fix homeassistant docgen.
This commit is contained in:
parent
b0cdcf2e21
commit
85e86dbdc2
@ -52,16 +52,16 @@ text += 'To achieve the best possible integration (including MQTT discovery):\n'
|
||||
text += '- In your **zigbee2mqtt** `configuration.yaml` set `homeassistant: true`\n'
|
||||
text += '- In your **Home Assistant** `configuration.yaml`:\n';
|
||||
|
||||
text += '```yaml';
|
||||
text += 'mqtt:';
|
||||
text += ' discovery: true';
|
||||
text += ' broker: [YOUR MQTT BROKER]';
|
||||
text += ' birth_message:';
|
||||
text += ` topic: 'hass/status'`;
|
||||
text += ` payload: 'online'`;
|
||||
text += ' will_message:';
|
||||
text += ` topic: 'hass/status'`;
|
||||
text += ` payload: 'offline'`;
|
||||
text += '```yaml\n';
|
||||
text += 'mqtt:\n';
|
||||
text += ' discovery: true\n';
|
||||
text += ' broker: [YOUR MQTT BROKER] # Remove if you want to use builtin-in MQTT broker\n';
|
||||
text += ' birth_message:\n';
|
||||
text += ` topic: 'hass/status'\n`;
|
||||
text += ` payload: 'online'\n`;
|
||||
text += ' will_message:\n';
|
||||
text += ` topic: 'hass/status'\n`;
|
||||
text += ` payload: 'offline'\n`;
|
||||
text += '```';
|
||||
|
||||
text += '\n\n'
|
||||
|
Loading…
Reference in New Issue
Block a user