mirror of
https://github.com/Andre0512/hon.git
synced 2026-05-07 18:04:42 +02:00
Fix some small bugs
This commit is contained in:
@@ -16,17 +16,10 @@ _LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@dataclass
|
||||
class HonBinarySensorEntityDescriptionMixin:
|
||||
class HonBinarySensorEntityDescription(BinarySensorEntityDescription):
|
||||
on_value: str | float = ""
|
||||
|
||||
|
||||
@dataclass
|
||||
class HonBinarySensorEntityDescription(
|
||||
HonBinarySensorEntityDescriptionMixin, BinarySensorEntityDescription
|
||||
):
|
||||
pass
|
||||
|
||||
|
||||
BINARY_SENSORS: dict[str, tuple[HonBinarySensorEntityDescription, ...]] = {
|
||||
"WM": (
|
||||
HonBinarySensorEntityDescription(
|
||||
|
||||
Reference in New Issue
Block a user