Remove entity description mixin in Comfoconnect (#112397)

This commit is contained in:
Joost Lekkerkerker
2024-03-05 21:55:45 +01:00
committed by GitHub
parent 96e582c1b7
commit 05628ecb2f

View File

@@ -79,19 +79,11 @@ ATTR_SUPPLY_TEMPERATURE = "supply_temperature"
_LOGGER = logging.getLogger(__name__)
@dataclass(frozen=True)
class ComfoconnectRequiredKeysMixin:
"""Mixin for required keys."""
sensor_id: int
@dataclass(frozen=True)
class ComfoconnectSensorEntityDescription(
SensorEntityDescription, ComfoconnectRequiredKeysMixin
):
@dataclass(frozen=True, kw_only=True)
class ComfoconnectSensorEntityDescription(SensorEntityDescription):
"""Describes Comfoconnect sensor entity."""
sensor_id: int
multiplier: float = 1