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
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]