ConfigType and async_setup/setup type hint improvements (#54739)
This commit is contained in:
parent
dcb2a211e5
commit
939fde0a50
63 changed files with 114 additions and 71 deletions
|
@ -67,7 +67,7 @@ CONFIG_SCHEMA = vol.Schema(
|
|||
)
|
||||
|
||||
|
||||
async def async_setup(hass: HomeAssistant, config: ConfigType):
|
||||
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
||||
"""Set up the Lovelace commands."""
|
||||
mode = config[DOMAIN][CONF_MODE]
|
||||
yaml_resources = config[DOMAIN].get(CONF_RESOURCES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue