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,13 +2,14 @@
|
|||
|
||||
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.binary_sensor import async_setup_legacy_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 binary sensors."""
|
||||
assert DATA_SDM not in entry.data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue