diff --git a/custom_components/tahoma/entity.py b/custom_components/tahoma/entity.py index 01e255ba..750452ec 100644 --- a/custom_components/tahoma/entity.py +++ b/custom_components/tahoma/entity.py @@ -128,9 +128,6 @@ class OverkizNumberDescription(NumberEntityDescription): """Class to describe an Overkiz number.""" command: str = None - - max_value: float | None = None - min_value: float | None = None min_step: float | None = None value: float | None = None state: Callable[[str], bool] = lambda state: state diff --git a/custom_components/tahoma/number.py b/custom_components/tahoma/number.py index 1bec42d7..5df21887 100644 --- a/custom_components/tahoma/number.py +++ b/custom_components/tahoma/number.py @@ -80,13 +80,3 @@ async def async_set_value(self, value: float) -> None: await self.executor.async_execute_command( self.entity_description.command, value ) - - @property - def min_value(self) -> float: - """Return the minimum value.""" - return self.entity_description.min_value or self._attr_min_value - - @property - def max_value(self) -> float: - """Return the maximum value.""" - return self.entity_description.max_value or self._attr_max_value