Compare commits
1 Commits
2.1.2-conf
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
d9b1000665
|
@@ -69,5 +69,5 @@ class AbstractMqttPublisher(threading.Thread):
|
|||||||
logger.debug(f"mqtt message unchanged, not publishing: {topic} -> {payload}")
|
logger.debug(f"mqtt message unchanged, not publishing: {topic} -> {payload}")
|
||||||
return
|
return
|
||||||
self.cache[topic] = payload
|
self.cache[topic] = payload
|
||||||
self.client.publish(topic, payload)
|
self.client.publish(topic, payload, retain=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user