Skip to content

Commit

Permalink
Fix upnp invalid key in ssdp discovery_info (home-assistant#56986)
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenLooman authored Oct 3, 2021
1 parent 41d2f03 commit 641f0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/upnp/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ async def _async_create_entry_from_discovery(

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"],
}
Expand Down

0 comments on commit 641f0ba

Please sign in to comment.