mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +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__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class ComfoconnectRequiredKeysMixin:
|
class ComfoconnectSensorEntityDescription(SensorEntityDescription):
|
||||||
"""Mixin for required keys."""
|
|
||||||
|
|
||||||
sensor_id: int
|
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
|
||||||
class ComfoconnectSensorEntityDescription(
|
|
||||||
SensorEntityDescription, ComfoconnectRequiredKeysMixin
|
|
||||||
):
|
|
||||||
"""Describes Comfoconnect sensor entity."""
|
"""Describes Comfoconnect sensor entity."""
|
||||||
|
|
||||||
|
sensor_id: int
|
||||||
multiplier: float = 1
|
multiplier: float = 1
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user