Fix upnp invalid key in ssdp discovery_info (#56986)

pull/56999/head
Steven Looman 2021-10-03 19:29:01 +02:00 committed by GitHub
parent 41d2f03b2f
commit 641f0babce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ class UpnpFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
title = _friendly_name_from_discovery(discovery)
data = {
CONFIG_ENTRY_UDN: discovery["_udn"],
CONFIG_ENTRY_UDN: discovery[ssdp.ATTR_UPNP_UDN],
CONFIG_ENTRY_ST: discovery[ssdp.ATTR_SSDP_ST],
CONFIG_ENTRY_HOSTNAME: discovery["_host"],
}