Update typing - collections.abc (1) (#63933)

* Update typing - collections.abc (1)

* Additional typing updates
This commit is contained in:
Marc Mueller 2022-01-12 07:56:35 +01:00 committed by GitHub
parent 789c0a24dd
commit 12757a8cd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 38 additions and 23 deletions

View file

@ -28,8 +28,9 @@ The following cases will never be passed to your function:
"""
from __future__ import annotations
from collections.abc import Callable
from types import MappingProxyType
from typing import Any, Callable, Optional, Union
from typing import Any, Optional, Union
from homeassistant.const import STATE_UNAVAILABLE, STATE_UNKNOWN
from homeassistant.core import HomeAssistant, State, callback