Improve device condition type hinting (#54906)
This commit is contained in:
parent
9633b9fe6e
commit
debc6d632c
8 changed files with 40 additions and 14 deletions
|
@ -217,7 +217,9 @@ async def async_get_triggers(
|
|||
return await _async_get_automations(hass, device_id, ENTITY_TRIGGERS, domain)
|
||||
|
||||
|
||||
async def async_get_condition_capabilities(hass: HomeAssistant, config: dict) -> dict:
|
||||
async def async_get_condition_capabilities(
|
||||
hass: HomeAssistant, config: ConfigType
|
||||
) -> dict[str, vol.Schema]:
|
||||
"""List condition capabilities."""
|
||||
return {
|
||||
"extra_fields": vol.Schema(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue