stjohnjohnson / smartthings-mqtt-bridge

Bridge between SmartThings and MQTT
https://hub.docker.com/r/stjohnjohnson/smartthings-mqtt-bridge/
MIT License
363 stars 241 forks source link

retain config option #112

Closed b3nj1 closed 6 years ago

b3nj1 commented 6 years ago

Hi, For my application, I prefer not to retain state. In this PR, I've added a config option to retain or not.

mqtt: retain: false # true is default still

Please entertain merging.

Thanks, Benjamin

stjohnjohnson commented 6 years ago

Could you document the setting in the README file please

b3nj1 commented 6 years ago

No problem. Done.

stjohnjohnson commented 6 years ago
stjohnjohnson commented 6 years ago

Thanks for the PR!!