Skip to content

Commit

Permalink
Merge pull request #21 from ppicazo/step-unit
Browse files Browse the repository at this point in the history
Steps should have a unit of 'steps'
  • Loading branch information
sbabcock23 authored Feb 27, 2021
2 parents a19634e + 8579c13 commit 2fca187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/tryfi/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def unit_of_measurement(self):
if self.statType.upper() == "DISTANCE":
return LENGTH_KILOMETERS
else:
return None
return "steps"

@property
def device_info(self):
Expand Down

0 comments on commit 2fca187

Please sign in to comment.