Update typing 05 (#48038)

This commit is contained in:
Marc Mueller 2021-03-17 23:43:55 +01:00 committed by GitHub
parent 76199c0eb2
commit 7c0734bdd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
57 changed files with 315 additions and 251 deletions

View file

@ -1,5 +1,5 @@
"""Provide the device automations for Climate."""
from typing import Dict, List
from __future__ import annotations
import voluptuous as vol
@ -42,7 +42,7 @@ CONDITION_SCHEMA = vol.Any(HVAC_MODE_CONDITION, PRESET_MODE_CONDITION)
async def async_get_conditions(
hass: HomeAssistant, device_id: str
) -> List[Dict[str, str]]:
) -> list[dict[str, str]]:
"""List device conditions for Climate devices."""
registry = await entity_registry.async_get_registry(hass)
conditions = []