Enable strict typing on script integration (#122079)
This commit is contained in:
parent
1e8da192b6
commit
07ceafed62
6 changed files with 56 additions and 24 deletions
|
@ -256,7 +256,7 @@ async def async_validate_config_item(
|
|||
return await _async_validate_config_item(hass, object_id, config, True, False)
|
||||
|
||||
|
||||
async def async_validate_config(hass, config):
|
||||
async def async_validate_config(hass: HomeAssistant, config: ConfigType) -> ConfigType:
|
||||
"""Validate config."""
|
||||
scripts = {}
|
||||
for _, p_config in config_per_platform(config, DOMAIN):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue