Mqtt: fix double export
This commit is contained in:
parent
a844c0ddbf
commit
4bddf556df
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue