import abc
from _typeshed import Incomplete
from homeassistant.core import callback as callback
from homeassistant.helpers.device_registry import DeviceInfo as DeviceInfo
from homeassistant.helpers.update_coordinator import CoordinatorEntity as CoordinatorEntity, DataUpdateCoordinator as DataUpdateCoordinator
from py_dormakaba_dkey import DKEYLock as DKEYLock
from py_dormakaba_dkey.commands import Notifications as Notifications

class DormakabaDkeyEntity(CoordinatorEntity[DataUpdateCoordinator[None]], metaclass=abc.ABCMeta):
    _attr_has_entity_name: bool
    _lock: Incomplete
    _attr_device_info: Incomplete
    def __init__(self, coordinator: DataUpdateCoordinator[None], lock: DKEYLock) -> None: ...
    @abc.abstractmethod
    def _async_update_attrs(self) -> None: ...
    def _handle_coordinator_update(self) -> None: ...
    def _handle_state_update(self, update: Notifications) -> None: ...
    async def async_added_to_hass(self) -> None: ...
