cmroche / OctoPrint-HomeAssistant

Home Assistant plugin for OctoPrint, enabling MQTT discovery of you device and sensors
112 stars 18 forks source link

Add discovery_topic to config #37

Closed edekeijzer closed 4 years ago

edekeijzer commented 4 years ago

Since I run my HA with a custom topic for discovering MQTT devices, issue #34 sparked my interest. This modification will enable you to customize the topic by adding discovery_topic to config.yaml, with a default setting of 'homeassistant'.

cmroche commented 4 years ago

Thanks for the contribution.