Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions homeassistant/components/media_player/dlna_dmr.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
DLNA_DMR_DATA = 'dlna_dmr'

REQUIREMENTS = [
'async-upnp-client==0.12.2',
'async-upnp-client==0.12.3',
]

DEFAULT_NAME = 'DLNA Digital Media Renderer'
Expand Down Expand Up @@ -126,7 +126,7 @@ async def async_setup_platform(hass: HomeAssistant,
name = config.get(CONF_NAME)
elif discovery_info is not None:
url = discovery_info['ssdp_description']
name = discovery_info['name']
name = discovery_info.get('name')

if DLNA_DMR_DATA not in hass.data:
hass.data[DLNA_DMR_DATA] = {}
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ apns2==0.3.0
asterisk_mbox==0.4.0

# homeassistant.components.media_player.dlna_dmr
async-upnp-client==0.12.2
async-upnp-client==0.12.3

# homeassistant.components.light.avion
# avion==0.7
Expand Down