Remove entity description mixin in Juicenet (#112892)
This commit is contained in:
parent
067c222bd9
commit
57e6c8e07a
1 changed files with 3 additions and 11 deletions
|
@ -20,19 +20,11 @@ from .const import DOMAIN, JUICENET_API, JUICENET_COORDINATOR
|
|||
from .entity import JuiceNetDevice
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class JuiceNetNumberEntityDescriptionMixin:
|
||||
"""Mixin for required keys."""
|
||||
|
||||
setter_key: str
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class JuiceNetNumberEntityDescription(
|
||||
NumberEntityDescription, JuiceNetNumberEntityDescriptionMixin
|
||||
):
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class JuiceNetNumberEntityDescription(NumberEntityDescription):
|
||||
"""An entity description for a JuiceNetNumber."""
|
||||
|
||||
setter_key: str
|
||||
native_max_value_key: str | None = None
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue