Update typing 14 (#48078)

This commit is contained in:
Marc Mueller 2021-03-18 15:08:35 +01:00 committed by GitHub
parent 7d196abc4a
commit dcca29ef68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
73 changed files with 614 additions and 521 deletions

View file

@ -1,5 +1,7 @@
"""Sensors flow for Withings."""
from typing import Callable, List
from __future__ import annotations
from typing import Callable
from homeassistant.components.binary_sensor import (
DEVICE_CLASS_OCCUPANCY,
@ -16,7 +18,7 @@ from .common import BaseWithingsSensor, async_create_entities
async def async_setup_entry(
hass: HomeAssistant,
entry: ConfigEntry,
async_add_entities: Callable[[List[Entity], bool], None],
async_add_entities: Callable[[list[Entity], bool], None],
) -> None:
"""Set up the sensor config entry."""
entities = await async_create_entities(