diff --git a/custom_components/bodymiscale/__init__.py b/custom_components/bodymiscale/__init__.py index 8ffab39..c11c370 100644 --- a/custom_components/bodymiscale/__init__.py +++ b/custom_components/bodymiscale/__init__.py @@ -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()) diff --git a/custom_components/bodymiscale/body_scales.py b/custom_components/bodymiscale/body_scales.py index bb90f56..7c377e5 100644 --- a/custom_components/bodymiscale/body_scales.py +++ b/custom_components/bodymiscale/body_scales.py @@ -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'] \ No newline at end of file + return ['obese', 'overweight', 'thick-set', 'lack-exercise', 'balanced', 'balanced-muscular', 'skinny', 'balanced-skinny', 'skinny-muscular'] \ No newline at end of file diff --git a/custom_components/bodymiscale/const.py b/custom_components/bodymiscale/const.py index 5395280..9ed4ad2 100644 --- a/custom_components/bodymiscale/const.py +++ b/custom_components/bodymiscale/const.py @@ -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" diff --git a/custom_components/bodymiscale/manifest.json b/custom_components/bodymiscale/manifest.json index 57f3754..6dfe8ec 100644 --- a/custom_components/bodymiscale/manifest.json +++ b/custom_components/bodymiscale/manifest.json @@ -4,5 +4,5 @@ "documentation": [], "after_dependencies": [], "codeowners": ["dckiller51"], - "version": "0.0.7" + "version": "0.0.8" }