mirror of
https://github.com/home-assistant/core.git
synced 2025-11-12 20:40:18 +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,10 +3,11 @@ from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
from collections import defaultdict
|
||||
from collections.abc import Iterable
|
||||
import datetime as dt
|
||||
import logging
|
||||
from types import ModuleType, TracebackType
|
||||
from typing import Any, Iterable
|
||||
from typing import Any
|
||||
|
||||
from homeassistant.components.sun import STATE_ABOVE_HORIZON, STATE_BELOW_HORIZON
|
||||
from homeassistant.const import (
|
||||
|
||||
Reference in New Issue
Block a user