Skip to content

Commit 94aeff5

Browse files
committed
revert back regression with ssdp
1 parent c69c237 commit 94aeff5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

custom_components/victron_mqtt/config_flow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ async def async_step_ssdp(
246246
self.hostname = str(urlparse(discovery_info.ssdp_location).hostname)
247247
self.serial = discovery_info.upnp["serialNumber"]
248248
self.installation_id = discovery_info.upnp["X_VrmPortalId"]
249-
self.model_name = discovery_info.upnp["model_name"]
250-
self.friendly_name = discovery_info.upnp["friendly_name"]
249+
self.model_name = discovery_info.upnp["modelName"]
250+
self.friendly_name = discovery_info.upnp["friendlyName"]
251251
_LOGGER.info(
252252
"SSDP: hostname=%s, serial=%s, installation_id=%s, model_name=%s, friendly_name=%s",
253253
self.hostname,

0 commit comments

Comments
 (0)