diff --git a/homeassistant/components/enphase_envoy/config_flow.py b/homeassistant/components/enphase_envoy/config_flow.py index fa253ca442c7f2..6093a30ca686b2 100644 --- a/homeassistant/components/enphase_envoy/config_flow.py +++ b/homeassistant/components/enphase_envoy/config_flow.py @@ -21,7 +21,6 @@ from homeassistant.data_entry_flow import FlowResult from homeassistant.exceptions import HomeAssistantError from homeassistant.helpers.httpx_client import get_async_client -from homeassistant.helpers.typing import DiscoveryInfoType from .const import DOMAIN @@ -102,7 +101,7 @@ def _async_current_hosts(self): } async def async_step_zeroconf( - self, discovery_info: DiscoveryInfoType + self, discovery_info: zeroconf.ZeroconfServiceInfo ) -> FlowResult: """Handle a flow initialized by zeroconf discovery.""" self.serial = discovery_info[zeroconf.ATTR_PROPERTIES]["serialnum"]