Use LENGTH_FEET constant (#34053)

This commit is contained in:
springstan authored and GitHub committed 2020-06-10 21:38:29 +02:00
1 parent 82090f5060
commit 9311b02369
4 files changed
+8 -6

No files matched your search

+2 -1
View File
@@ -16,6 +16,7 @@ from homeassistant.const import (
CONF_CLIENT_ID,
CONF_CLIENT_SECRET,
CONF_UNIT_SYSTEM,
LENGTH_FEET,
MASS_KILOGRAMS,
MASS_MILLIGRAMS,
TIME_MILLISECONDS,
@@ -117,7 +118,7 @@ FITBIT_MEASUREMENTS = {
"en_US": {
"duration": TIME_MILLISECONDS,
"distance": "mi",
"elevation": "ft",
"elevation": LENGTH_FEET,
"height": "in",
"weight": "lbs",
"body": "in",