Adjust device_automation type hints in core platforms 2/3 (#72210)
This commit is contained in:
parent
b10ee779f9
commit
3a0e816f1b
12 changed files with 38 additions and 28 deletions
|
@ -85,7 +85,9 @@ def async_condition_from_config(
|
|||
return test_is_state
|
||||
|
||||
|
||||
async def async_get_condition_capabilities(hass, config):
|
||||
async def async_get_condition_capabilities(
|
||||
hass: HomeAssistant, config: ConfigType
|
||||
) -> dict[str, vol.Schema]:
|
||||
"""List condition capabilities."""
|
||||
condition_type = config[CONF_TYPE]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue