timroemisch / mqtt-s7-connector

Connect Siemens S7 to Mqtt with Homeassistant discovery support
ISC License
19 stars 9 forks source link

Retain messages #10

Open xtimmy86x opened 1 year ago

xtimmy86x commented 1 year ago

The function for retain mqtt messages don't work if i set the option "retain_messages":true, the messages don't retain

timroemisch commented 1 year ago

I saw you fixed it here: https://github.com/xtimmy86x/mqtt-s7-connector/commit/81fd0283779d434ae64ce4b190199dffe71faa32

Does your fix work ? If so, I'd love to merge your code.