From 5d2e5d261252215a852fa72ec8f40bab418f6976 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Mon, 12 Jul 2021 10:35:17 +0200 Subject: [PATCH] Import Protocol from typing (#52848) --- homeassistant/helpers/entity_platform.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/helpers/entity_platform.py b/homeassistant/helpers/entity_platform.py index 5436a01648e..778b7f3747d 100644 --- a/homeassistant/helpers/entity_platform.py +++ b/homeassistant/helpers/entity_platform.py @@ -8,9 +8,8 @@ from datetime import datetime, timedelta import logging from logging import Logger from types import ModuleType -from typing import TYPE_CHECKING, Any, Callable +from typing import TYPE_CHECKING, Any, Callable, Protocol -from typing_extensions import Protocol import voluptuous as vol from homeassistant import config_entries