From 6ba50f8456a4dd9cbf08a28a4661926b14b7b4d1 Mon Sep 17 00:00:00 2001 From: Vadym Melnychuk Date: Sun, 3 Dec 2023 20:50:37 +0200 Subject: [PATCH] removed mode --- custom_components/hon/number.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/custom_components/hon/number.py b/custom_components/hon/number.py index 28e9e33..bce170c 100644 --- a/custom_components/hon/number.py +++ b/custom_components/hon/number.py @@ -6,7 +6,6 @@ from homeassistant.components.number import ( NumberEntity, NumberEntityDescription, NumberDeviceClass, - NumberMode, ) from homeassistant.config_entries import ConfigEntry from homeassistant.const import UnitOfTime, UnitOfTemperature @@ -201,7 +200,6 @@ NUMBERS: dict[str, tuple[NumberEntityDescription, ...]] = { key="settings.tempSel", name="Target Temperature", icon="mdi:thermometer", - mode=NumberMode.SLIDER, device_class=NumberDeviceClass.TEMPERATURE, native_unit_of_measurement=UnitOfTemperature.CELSIUS, translation_key="target_temperature",