Increase static type coverage for nest integration (#53475)
Co-authored-by: Mick Vleeshouwer <mick@imick.nl> Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
d4c4263730
commit
6376b4be5c
19 changed files with 146 additions and 110 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
from homeassistant.config_entries import ConfigEntry
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers.entity_platform import AddEntitiesCallback
|
||||
|
||||
from .const import DATA_SDM
|
||||
from .legacy.sensor import async_setup_legacy_entry
|
||||
|
@ -9,7 +10,7 @@ from .sensor_sdm import async_setup_sdm_entry
|
|||
|
||||
|
||||
async def async_setup_entry(
|
||||
hass: HomeAssistant, entry: ConfigEntry, async_add_entities
|
||||
hass: HomeAssistant, entry: ConfigEntry, async_add_entities: AddEntitiesCallback
|
||||
) -> None:
|
||||
"""Set up the sensors."""
|
||||
if DATA_SDM not in entry.data:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue