Fix typing in config flow helper (#50994)

This commit is contained in:
Ruslan Sayfutdinov 2021-05-23 13:08:21 +01:00 committed by GitHub
parent 9b02fd86c5
commit 44bbd9396d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ from homeassistant.core import HomeAssistant
from homeassistant.data_entry_flow import FlowResult
from homeassistant.helpers.typing import UNDEFINED, DiscoveryInfoType, UndefinedType
DiscoveryFunctionType = Callable[[], Union[Awaitable[bool], bool]]
DiscoveryFunctionType = Callable[[HomeAssistant], Union[Awaitable[bool], bool]]
_LOGGER = logging.getLogger(__name__)