Fix small type issue [fritz] (#75761)

This commit is contained in:
Marc Mueller 2022-07-26 16:30:12 +02:00 committed by GitHub
parent af7df260a0
commit 516324ff54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,7 @@ class FritzBoxToolsFlowHandler(ConfigFlow, domain=DOMAIN):
async def async_check_configured_entry(self) -> ConfigEntry | None:
"""Check if entry is configured."""
assert self._host
current_host = await self.hass.async_add_executor_job(
socket.gethostbyname, self._host
)