Fix discovery of WMS WebControl pro by using IP address (#127939)

pull/128038/head
Marc Hörsken 2024-10-09 17:18:58 +02:00 committed by GitHub
parent b38694fbcd
commit 805bed092e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class WebControlProConfigFlow(ConfigFlow, domain=DOMAIN):
if self.source == dhcp.DOMAIN:
discovery_info: DhcpServiceInfo = self.init_data
data_values = {CONF_HOST: discovery_info.hostname or discovery_info.ip}
data_values = {CONF_HOST: discovery_info.ip}
else:
data_values = {CONF_HOST: SUGGESTED_HOST}