Remove entity description mixin in Kaiterra (#112895)
parent
d9996d3add
commit
1fa0ce2f2c
|
@ -18,20 +18,13 @@ from homeassistant.helpers.typing import ConfigType, DiscoveryInfoType
|
|||
from .const import DISPATCHER_KAITERRA, DOMAIN
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class KaiterraSensorRequiredKeysMixin:
|
||||
"""Mixin for required keys."""
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class KaiterraSensorEntityDescription(SensorEntityDescription):
|
||||
"""Class describing Renault sensor entities."""
|
||||
|
||||
suffix: str
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class KaiterraSensorEntityDescription(
|
||||
SensorEntityDescription, KaiterraSensorRequiredKeysMixin
|
||||
):
|
||||
"""Class describing Renault sensor entities."""
|
||||
|
||||
|
||||
SENSORS = [
|
||||
KaiterraSensorEntityDescription(
|
||||
suffix="Temperature",
|
||||
|
|
Loading…
Reference in New Issue