Skip to content

Commit

Permalink
Fixed display command
Browse files Browse the repository at this point in the history
  • Loading branch information
DrRSatzteil committed Sep 22, 2023
1 parent 3383dd4 commit db4d4c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ private void handleDisplay(Command command) {
HashMap<String, Object> params = new HashMap<String, Object>();
params.put("power", OnOffType.ON.equals(command));
String json = Helper.encodeJson(params);
sendMQTT(this.basetopic + TOPIC_POWER, "{" + json + "}", false);
sendMQTT(this.basetopic + TOPIC_POWER, json, false);
}
}

Expand Down

0 comments on commit db4d4c2

Please sign in to comment.