From 081d3c3dfe6f2d900fad23d7ded0e8cc64f1a572 Mon Sep 17 00:00:00 2001 From: Jonas Janz Date: Sun, 11 Nov 2018 20:04:34 +0100 Subject: [PATCH] update docs for Home Hssistant (#583) This adds a hint that you 'need' to set "hass/state" as a topic if you want zigbee2mqtt to resend the cached values on restarts. --- support/docgen.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/support/docgen.js b/support/docgen.js index 33326f706..6b8b16eed 100644 --- a/support/docgen.js +++ b/support/docgen.js @@ -63,7 +63,10 @@ text += ' will_message:\n'; text += ` topic: 'hass/status'\n`; text += ` payload: 'offline'\n`; text += '```'; +text += '\n\n' +text += 'Zigbee2mqtt is expecting Home Assistant to send it\'s birth/will messages to `hass/status`.' +text += 'Be sure to add this to your `configuration.yaml` if you want zigbee2mqtt to resend the cached values when Home Assistant restarts' text += '\n\n' text += 'To respond to button clicks (e.g. WXKG01LM) you can use the following Home Assistant configuration:\n'