From f0104d6851e8d9370091510c4101d5c0ea64f3cb Mon Sep 17 00:00:00 2001
From: Jan-Philipp Benecke <jan-philipp@bnck.me>
Date: Thu, 21 Dec 2023 13:25:21 +0100
Subject: [PATCH] Remove gios sensor description required fields mixin
 (#106174)

---
 homeassistant/components/gios/sensor.py | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/homeassistant/components/gios/sensor.py b/homeassistant/components/gios/sensor.py
index 9ca34b2e77c..99c1775beef 100644
--- a/homeassistant/components/gios/sensor.py
+++ b/homeassistant/components/gios/sensor.py
@@ -42,17 +42,11 @@ from .const import (
 _LOGGER = logging.getLogger(__name__)
 
 
-@dataclass(frozen=True)
-class GiosSensorRequiredKeysMixin:
-    """Class for GIOS entity required keys."""
-
-    value: Callable[[GiosSensors], StateType]
-
-
-@dataclass(frozen=True)
-class GiosSensorEntityDescription(SensorEntityDescription, GiosSensorRequiredKeysMixin):
+@dataclass(frozen=True, kw_only=True)
+class GiosSensorEntityDescription(SensorEntityDescription):
     """Class describing GIOS sensor entities."""
 
+    value: Callable[[GiosSensors], StateType]
     subkey: str | None = None
 
 
-- 
GitLab