from .const import DEV_CLASS as DEV_CLASS, DOMAIN as DOMAIN, LOGGER as LOGGER, PLATFORMS as PLATFORMS
from .coordinator import PlugwiseConfigEntry as PlugwiseConfigEntry, PlugwiseDataUpdateCoordinator as PlugwiseDataUpdateCoordinator
from homeassistant.const import Platform as Platform
from homeassistant.core import HomeAssistant as HomeAssistant, callback as callback
from homeassistant.helpers import entity_registry as er
from typing import Any

async def async_setup_entry(hass: HomeAssistant, entry: PlugwiseConfigEntry) -> bool: ...
async def async_unload_entry(hass: HomeAssistant, entry: PlugwiseConfigEntry) -> bool: ...
@callback
def async_migrate_entity_entry(entry: er.RegistryEntry) -> dict[str, Any] | None: ...
def migrate_sensor_entities(hass: HomeAssistant, coordinator: PlugwiseDataUpdateCoordinator) -> None: ...
