diff --git a/custom_components/vinx/config_flow.py b/custom_components/vinx/config_flow.py index e3ca8fd..1531018 100644 --- a/custom_components/vinx/config_flow.py +++ b/custom_components/vinx/config_flow.py @@ -67,8 +67,8 @@ async def async_step_zeroconf(self, discovery_info: ZeroconfServiceInfo) -> Conf self._abort_if_unique_id_configured() # Pre-populate the form - self.host = discovery_info.ip_address - self.port = discovery_info.port + self.host = str(discovery_info.ip_address) + self.port = int(discovery_info.port) # Trigger the user configuration flow return await self.async_step_user()