Fix some small bugs

This commit is contained in:
Andre Basche 2023-07-10 00:21:45 +02:00
parent bb700dd2f7
commit c0d25a4efe
4 changed files with 11 additions and 17 deletions

View file

@ -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(