Use bool annotations for setup entries (#51166)
This commit is contained in:
parent
b6355bcb48
commit
d1c4d0de49
103 changed files with 109 additions and 107 deletions
|
@ -13,7 +13,7 @@ from .const import CONF_RTSP_PORT, DOMAIN, LOGGER, SERVICE_PTZ, SERVICE_PTZ_PRES
|
|||
PLATFORMS = ["camera"]
|
||||
|
||||
|
||||
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
|
||||
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
"""Set up foscam from a config entry."""
|
||||
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue