Add missing type annotations to Notion (#52599)

This commit is contained in:
Aaron Bach 2021-07-07 17:39:52 -05:00 committed by GitHub
parent 50d56fd755
commit f44a13970a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 7 deletions

View file

@ -44,7 +44,7 @@ BINARY_SENSOR_TYPES = {
async def async_setup_entry(
hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback
):
) -> None:
"""Set up Notion sensors based on a config entry."""
coordinator = hass.data[DOMAIN][DATA_COORDINATOR][entry.entry_id]