Remove entity description mixin in Airzone (#112378)
parent
a515603aaf
commit
1824ff6438
|
@ -26,19 +26,14 @@ from .coordinator import AirzoneUpdateCoordinator
|
|||
from .entity import AirzoneEntity, AirzoneZoneEntity
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class AirzoneSelectDescriptionMixin:
|
||||
"""Define an entity description mixin for select entities."""
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class AirzoneSelectDescription(SelectEntityDescription):
|
||||
"""Class to describe an Airzone select entity."""
|
||||
|
||||
api_param: str
|
||||
options_dict: dict[str, int]
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class AirzoneSelectDescription(SelectEntityDescription, AirzoneSelectDescriptionMixin):
|
||||
"""Class to describe an Airzone select entity."""
|
||||
|
||||
|
||||
GRILLE_ANGLE_DICT: Final[dict[str, int]] = {
|
||||
"90deg": GrilleAngle.DEG_90,
|
||||
"50deg": GrilleAngle.DEG_50,
|
||||
|
|
Loading…
Reference in New Issue