Skip to content

Commit

Permalink
fixed missing toplevel topic
Browse files Browse the repository at this point in the history
  • Loading branch information
lechk82 committed Oct 17, 2021
1 parent 8d4a17b commit dda0509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def single_run(file):
for p in inverterData:
if p not in discard:
mqtt.message(config["mqtt"], topic+"/inverter/" + p, inverterData[p])
mqtt.message(config["mqtt"], "/inverter/attributes", json.dumps(inverterDataList))
mqtt.message(config["mqtt"], topic+"/inverter/attributes", json.dumps(inverterDataList))

for p in loggerData:
if p not in discard:
Expand Down

0 comments on commit dda0509

Please sign in to comment.