mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Remove entity description mixin in Juicenet (#112892)
This commit is contained in:
committed by
GitHub
parent
067c222bd9
commit
57e6c8e07a
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user