Skip to content
Snippets Groups Projects
Unverified Commit f0104d68 authored by Jan-Philipp Benecke's avatar Jan-Philipp Benecke Committed by GitHub
Browse files

Remove gios sensor description required fields mixin (#106174)

parent aa9f0009
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment