Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge pull request #268 from Thomas55555/make-percentage_sensors-less…
Browse files Browse the repository at this point in the history
…-boring

make percentage_sensors less boring
  • Loading branch information
Thomas55555 authored Jun 29, 2022
2 parents 4ab5a85 + 11e3f43 commit 2ebd076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/husqvarna_automower/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,4 +276,4 @@ def native_value(self):
mower_attributes["statistics"][self.entity_description.key]
/ mower_attributes["statistics"]["totalRunningTime"]
) * 100
return round(percent, 1)
return round(percent, 2)

0 comments on commit 2ebd076

Please sign in to comment.