Adjust device_automation type hints in core platforms 2/3 (#72210)

This commit is contained in:
epenet 2022-05-23 16:02:36 +02:00 committed by GitHub
parent b10ee779f9
commit 3a0e816f1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 38 additions and 28 deletions

View file

@ -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]