Use bool annotations for setup entries (#51166)

This commit is contained in:
tkdrob 2021-05-27 11:39:06 -04:00 committed by GitHub
parent b6355bcb48
commit d1c4d0de49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
103 changed files with 109 additions and 107 deletions

View file

@ -46,7 +46,7 @@ async def async_setup(hass: HomeAssistant, config: dict):
return True
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Set up JuiceNet from a config entry."""
config = entry.data