diff --git a/mppsolar/outputs/json_mqtt.py b/mppsolar/outputs/json_mqtt.py index dafa1713..5394796d 100644 --- a/mppsolar/outputs/json_mqtt.py +++ b/mppsolar/outputs/json_mqtt.py @@ -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)