Skip to content

Commit

Permalink
fix rpm scale
Browse files Browse the repository at this point in the history
  • Loading branch information
nlef committed May 3, 2022
1 parent 4363bee commit f753063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/klippy.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def sensor_message(name: str, value) -> str:
if "speed" in value:
message += f" {round(value['speed']*100)}%"
if "rpm" in value and value["rpm"] is not None:
message += f" {round(value['rpm']*100)}RPM"
message += f" {round(value['rpm'])} RPM"
elif "temperature" in value:
message = emoji.emojize(" :thermometer: ", language="alias") + f"{sens_name.title()}: {round(value['temperature'])}"
if message:
Expand Down

0 comments on commit f753063

Please sign in to comment.