From 1824ff643889158800e6690a17681dcbc3ead203 Mon Sep 17 00:00:00 2001 From: Joost Lekkerkerker Date: Tue, 5 Mar 2024 19:21:11 +0100 Subject: [PATCH] Remove entity description mixin in Airzone (#112378) --- homeassistant/components/airzone/select.py | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/homeassistant/components/airzone/select.py b/homeassistant/components/airzone/select.py index 6f69d4454ee..5d60b777f2e 100644 --- a/homeassistant/components/airzone/select.py +++ b/homeassistant/components/airzone/select.py @@ -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,