Add missing type annotations to Notion (#52599)
This commit is contained in:
parent
50d56fd755
commit
f44a13970a
4 changed files with 12 additions and 7 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue