Add setup type hints [f-g] (#63599)
Co-authored-by: epenet <epenet@users.noreply.github.com>
This commit is contained in:
parent
54cb1e7556
commit
f3af0781f8
17 changed files with 68 additions and 27 deletions
|
@ -9,13 +9,14 @@ from homeassistant.components.device_tracker.config_entry import ScannerEntity
|
|||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.core import HomeAssistant, callback
|
||||
from homeassistant.helpers.dispatcher import async_dispatcher_connect
|
||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
|
||||
from .const import DEFAULT_DEVICE_NAME, DEVICE_ICONS, DOMAIN
|
||||
from .router import FreeboxRouter
|
||||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistant, entry: ConfigEntry, async_add_entities
|
||||
hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback
|
||||
) -> None:
|
||||
"""Set up device tracker for Freebox component."""
|
||||
router = hass.data[DOMAIN][entry.unique_id]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue