mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Remove entity description mixin in Comfoconnect (#112397)
This commit is contained in:
parent
96e582c1b7
commit
05628ecb2f
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user