removed mode

This commit is contained in:
Vadym Melnychuk 2023-12-03 20:50:37 +02:00
parent 4772374db7
commit 6ba50f8456

View file

@ -6,7 +6,6 @@ from homeassistant.components.number import (
NumberEntity, NumberEntity,
NumberEntityDescription, NumberEntityDescription,
NumberDeviceClass, NumberDeviceClass,
NumberMode,
) )
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry
from homeassistant.const import UnitOfTime, UnitOfTemperature from homeassistant.const import UnitOfTime, UnitOfTemperature
@ -201,7 +200,6 @@ NUMBERS: dict[str, tuple[NumberEntityDescription, ...]] = {
key="settings.tempSel", key="settings.tempSel",
name="Target Temperature", name="Target Temperature",
icon="mdi:thermometer", icon="mdi:thermometer",
mode=NumberMode.SLIDER,
device_class=NumberDeviceClass.TEMPERATURE, device_class=NumberDeviceClass.TEMPERATURE,
native_unit_of_measurement=UnitOfTemperature.CELSIUS, native_unit_of_measurement=UnitOfTemperature.CELSIUS,
translation_key="target_temperature", translation_key="target_temperature",