Skip to content

Commit

Permalink
Merge pull request #414 from sante85/master
Browse files Browse the repository at this point in the history
Update json_mqtt.py
  • Loading branch information
jblance authored Oct 22, 2023
2 parents 1e4da0b + b4224e6 commit 3bf6be8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mppsolar/outputs/json_mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def build_msgs(self, *args, **kwargs):
output = to_json(data, keep_case, excl_filter, filter)
payload = js.dumps(output)
msg = {
"topic": topic,
"topic": f"{tag}/{topic}",
"payload": payload,
}
msgs.append(msg)
Expand Down

0 comments on commit 3bf6be8

Please sign in to comment.