Skip to content

Commit

Permalink
V0.0.8
Browse files Browse the repository at this point in the history
spelling update
- Lack-exerscise => Lack-exercise
  • Loading branch information
dckiller51 committed Jul 7, 2021
1 parent 8956223 commit 73f952d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion custom_components/bodymiscale/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def state_attributes(self):
attrib[ATTR_BMILABEL] = lib.getBmiLabel()
elif model == "181B" and problem == "ok":
lib = body_metrics.bodyMetrics(weight, height, age, gender, impedance)
bodyscale = ['Obese', 'Overweight', 'Thick-set', 'Lack-exerscise', 'Balanced', 'Balanced-muscular', 'Skinny', 'Balanced-skinny', 'Skinny-muscular']
bodyscale = ['Obese', 'Overweight', 'Thick-set', 'Lack-exercise', 'Balanced', 'Balanced-muscular', 'Skinny', 'Balanced-skinny', 'Skinny-muscular']
attrib[ATTR_BMI] = "{:.1f}".format(lib.getBMI())
attrib[ATTR_BMR] = "{:.0f}".format(lib.getBMR())
attrib[ATTR_VISCERAL] = "{:.0f}".format(lib.getVisceralFat())
Expand Down
2 changes: 1 addition & 1 deletion custom_components/bodymiscale/body_scales.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,4 @@ def getBodyScoreScale(self):

# Return body type scale
def getBodyTypeScale(self):
return ['obese', 'overweight', 'thick-set', 'lack-exerscise', 'balanced', 'balanced-muscular', 'skinny', 'balanced-skinny', 'skinny-muscular']
return ['obese', 'overweight', 'thick-set', 'lack-exercise', 'balanced', 'balanced-muscular', 'skinny', 'balanced-skinny', 'skinny-muscular']
2 changes: 1 addition & 1 deletion custom_components/bodymiscale/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Base component constants
NAME = "Body Xiaomi Miscale Esphome"
DOMAIN = "bodymiscale"
VERSION = "0.0.5"
VERSION = "0.0.8"

ISSUE_URL = "https://github.com/dckiller51/bodymiscale/issues"
DOC_URL = "https://github.com/dckiller51/bodymiscale"
Expand Down
2 changes: 1 addition & 1 deletion custom_components/bodymiscale/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"documentation": [],
"after_dependencies": [],
"codeowners": ["dckiller51"],
"version": "0.0.7"
"version": "0.0.8"
}

0 comments on commit 73f952d

Please sign in to comment.