Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
ae8db120e8
commit
0c2485bc03
462 changed files with 806 additions and 804 deletions
|
@ -79,14 +79,14 @@ ATTR_SUPPLY_TEMPERATURE = "supply_temperature"
|
|||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(frozen=True)
|
||||
class ComfoconnectRequiredKeysMixin:
|
||||
"""Mixin for required keys."""
|
||||
|
||||
sensor_id: int
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(frozen=True)
|
||||
class ComfoconnectSensorEntityDescription(
|
||||
SensorEntityDescription, ComfoconnectRequiredKeysMixin
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue