mirror of
https://github.com/home-assistant/core.git
synced 2025-11-14 05:20:17 +00:00
Update typing syntax (#49480)
* Update typing syntax * Replace typing imports with ones from collections where possible * Changes after review
This commit is contained in:
@@ -3,13 +3,14 @@ from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
from collections import deque
|
||||
from collections.abc import Container, Generator
|
||||
from contextlib import contextmanager
|
||||
from datetime import datetime, timedelta
|
||||
import functools as ft
|
||||
import logging
|
||||
import re
|
||||
import sys
|
||||
from typing import Any, Callable, Container, Generator, cast
|
||||
from typing import Any, Callable, cast
|
||||
|
||||
from homeassistant.components import zone as zone_cmp
|
||||
from homeassistant.components.device_automation import (
|
||||
|
||||
Reference in New Issue
Block a user