From 513b08b8d3dcc4e97a21dc4e675f8a4eb2657656 Mon Sep 17 00:00:00 2001 From: Kev Date: Wed, 8 Jan 2025 14:41:47 -0500 Subject: [PATCH] Remove auto as an allowed unit --- custom_components/pirateweather/weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/pirateweather/weather.py b/custom_components/pirateweather/weather.py index d0a35f0..a7a9049 100644 --- a/custom_components/pirateweather/weather.py +++ b/custom_components/pirateweather/weather.py @@ -69,7 +69,7 @@ vol.Optional(PW_PLATFORM): cv.string, vol.Optional(PW_PREVPLATFORM): cv.string, vol.Optional(CONF_MODE, default="hourly"): vol.In(FORECAST_MODES), - vol.Optional(CONF_UNITS): vol.In(["auto", "si", "us", "ca", "uk", "uk2"]), + vol.Optional(CONF_UNITS): vol.In(["si", "us", "ca", "uk", "uk2"]), vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, vol.Optional(CONF_SCAN_INTERVAL, default=DEFAULT_SCAN_INTERVAL): cv.time_period, }