Skip to content

Commit

Permalink
[miio] fix printed zone clean command (openhab#9865)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelrv authored and themillhousegroup committed May 10, 2021
1 parent 4d25142 commit e6f3db0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public void mouseReleased(@Nullable MouseEvent e) {
double minY = Math.min(fromLocation.getY(), endLocation.getY());
double maxY = Math.max(fromLocation.getY(), endLocation.getY());
textArea.append(String.format(
"Zone coordinates:\t%s, %s\t\tZone clean command: app_zone_clean[[ %.0f,%.0f,%.0f,%.0f,1 ]]\r\n",
"Zone coordinates:\t%s, %s\t\tZone clean command: app_zoned_clean[[ %.0f,%.0f,%.0f,%.0f,1 ]]\r\n",
endLocation, fromLocation, minX, minY, maxX, maxY));
} else {
final MapPoint pointLocation = MapCoordstoRoboCoords(localCoordtoMapCoords(e.getPoint()));
Expand Down

0 comments on commit e6f3db0

Please sign in to comment.