How to set up ZWavejs2MQTT on a Raspberry Pi and integrate it with Home-Assistant

Thank you for the guide. I’ve just tried ZWavejs2MQTT, and I really like what I see so far.

But in your guide you have the “Retain discovery” option disabled. I read in this thread that it ought to be enabled, as Home Assistant will lose devices/entities that have been auto-discovered if restarted and discovery messages are not retained on the MQTT broker.

Can you confirm that this is not the case, and that it’s safe to have discovery messages not retained on the broker (ie. the devices/entities are not lost in HA)?