Fix typing for device condition scaffold (#27487)
This commit is contained in:
parent
22eaff9897
commit
dbe366933f
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ CONDITION_SCHEMA = DEVICE_CONDITION_BASE_SCHEMA.extend(
|
|||
)
|
||||
|
||||
|
||||
async def async_get_conditions(hass: HomeAssistant, device_id: str) -> List[str]:
|
||||
async def async_get_conditions(hass: HomeAssistant, device_id: str) -> List[dict]:
|
||||
"""List device conditions for NEW_NAME devices."""
|
||||
registry = await entity_registry.async_get_registry(hass)
|
||||
conditions = []
|
||||
|
|
Loading…
Add table
Reference in a new issue