From c3c4b4ef6f2156ec145ab06430566ae0fd93b6e1 Mon Sep 17 00:00:00 2001 From: Ryan Snodgrass Date: Tue, 19 Jan 2021 20:24:44 -0800 Subject: [PATCH] default units imperial --- custom_components/sensorpush/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/sensorpush/__init__.py b/custom_components/sensorpush/__init__.py index 0beca02..f897320 100644 --- a/custom_components/sensorpush/__init__.py +++ b/custom_components/sensorpush/__init__.py @@ -43,7 +43,7 @@ vol.Required(CONF_PASSWORD): cv.string, vol.Optional(CONF_SCAN_INTERVAL, default=60): vol.All(vol.Coerce(int), vol.Range(min=MIN_SCAN_INTERVAL_IN_SECONDS)), - vol.Optional(CONF_UNIT_SYSTEM, default=UNIT_SYSTEM_METRIC): + vol.Optional(CONF_UNIT_SYSTEM, default=UNIT_SYSTEM_IMPERIAL): vol.In( UNIT_SYSTEMS.keys() ), vol.Optional(CONF_MAXIMUM_AGE, default=60): cv.positive_int })