diff --git a/custom_components/econet300/const.py b/custom_components/econet300/const.py index 3e66af5..d84a6f9 100644 --- a/custom_components/econet300/const.py +++ b/custom_components/econet300/const.py @@ -202,6 +202,8 @@ "fanPower": SensorDeviceClass.POWER_FACTOR, "tempFlueGas": SensorDeviceClass.TEMPERATURE, "mixerSetTemp1": SensorDeviceClass.TEMPERATURE, + "mixerTemp": SensorDeviceClass.TEMPERATURE, + "mixerSetTemp": SensorDeviceClass.TEMPERATURE, "tempBack": SensorDeviceClass.TEMPERATURE, "tempCWU": SensorDeviceClass.TEMPERATURE, "mode": "DEVICE_CLASS_OPERATION_MODE", diff --git a/custom_components/econet300/number.py b/custom_components/econet300/number.py index 552409a..7aeb098 100644 --- a/custom_components/econet300/number.py +++ b/custom_components/econet300/number.py @@ -2,31 +2,28 @@ from dataclasses import dataclass import logging -from homeassistant.components.number import ( - NumberEntity, - NumberEntityDescription, -) +from homeassistant.components.number import NumberEntity, NumberEntityDescription from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.entity_platform import AddEntitiesCallback from .api import Limits from .common import Econet300Api, EconetDataCoordinator -from .entity import EconetEntity from .common_functions import camel_to_snake from .const import ( DOMAIN, ENTITY_DEVICE_CLASS_MAP, ENTITY_ICON, - ENTITY_UNIT_MAP, - SERVICE_API, - SERVICE_COORDINATOR, - NUMBER_MAP, - ENTITY_MIN_VALUE, ENTITY_MAX_VALUE, + ENTITY_MIN_VALUE, ENTITY_STEP, + ENTITY_UNIT_MAP, ENTITY_VISIBLE, + NUMBER_MAP, + SERVICE_API, + SERVICE_COORDINATOR, ) +from .entity import EconetEntity _LOGGER = logging.getLogger(__name__)