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

@@ -14,7 +14,7 @@ SENSOR_TYPES = {SENSOR_TEMPERATURE: ("Temperature", "temperature", TEMP_CELSIUS)
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]