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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue