Mqtt: fix double export

This commit is contained in:
andig 2023-10-29 10:25:10 +01:00
parent a844c0ddbf
commit 4bddf556df

View file

@ -120,6 +120,8 @@ func (m *MQTT) publish(topic string, retained bool, payload interface{}) {
// publish sum value
m.publishSingleValue(topic, retained, total)
return
}
m.publishComplex(topic, retained, payload)