from .common import setup_home_connect_entry as setup_home_connect_entry
from .const import REFRIGERATION_STATUS_DOOR_CLOSED as REFRIGERATION_STATUS_DOOR_CLOSED, REFRIGERATION_STATUS_DOOR_OPEN as REFRIGERATION_STATUS_DOOR_OPEN
from .coordinator import HomeConnectApplianceCoordinator as HomeConnectApplianceCoordinator, HomeConnectConfigEntry as HomeConnectConfigEntry
from .entity import HomeConnectEntity as HomeConnectEntity
from _typeshed import Incomplete
from dataclasses import dataclass
from homeassistant.components.binary_sensor import BinarySensorDeviceClass as BinarySensorDeviceClass, BinarySensorEntity as BinarySensorEntity, BinarySensorEntityDescription as BinarySensorEntityDescription
from homeassistant.const import EntityCategory as EntityCategory
from homeassistant.core import HomeAssistant as HomeAssistant
from homeassistant.helpers.entity_platform import AddConfigEntryEntitiesCallback as AddConfigEntryEntitiesCallback

PARALLEL_UPDATES: int
REFRIGERATION_DOOR_BOOLEAN_MAP: Incomplete

@dataclass(frozen=True, kw_only=True)
class HomeConnectBinarySensorEntityDescription(BinarySensorEntityDescription):
    boolean_map: dict[str, bool] | None = ...

BINARY_SENSORS: Incomplete
CONNECTED_BINARY_ENTITY_DESCRIPTION: Incomplete

def _get_entities_for_appliance(appliance_coordinator: HomeConnectApplianceCoordinator) -> list[HomeConnectEntity]: ...
async def async_setup_entry(hass: HomeAssistant, entry: HomeConnectConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback) -> None: ...

class HomeConnectBinarySensor(HomeConnectEntity, BinarySensorEntity):
    entity_description: HomeConnectBinarySensorEntityDescription
    _attr_is_on: Incomplete
    def update_native_value(self) -> None: ...

class HomeConnectConnectivityBinarySensor(HomeConnectEntity, BinarySensorEntity):
    _attr_entity_category: Incomplete
    _attr_is_on: Incomplete
    def update_native_value(self) -> None: ...
    @property
    def available(self) -> bool: ...
