Skip to content

Commit

Permalink
Remove entity description mixin in Airzone (home-assistant#112378)
Browse files Browse the repository at this point in the history
  • Loading branch information
joostlek authored Mar 5, 2024
1 parent a515603 commit 1824ff6
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions homeassistant/components/airzone/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,14 @@
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,
Expand Down

0 comments on commit 1824ff6

Please sign in to comment.