publish cache retained
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
This commit is contained in:
@@ -69,5 +69,5 @@ class AbstractMqttPublisher(threading.Thread):
|
||||
logger.debug(f"mqtt message unchanged, not publishing: {topic} -> {payload}")
|
||||
return
|
||||
self.cache[topic] = payload
|
||||
self.client.publish(topic, payload)
|
||||
self.client.publish(topic, payload, retain=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user