8000 Fix message: `Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10` by StevenLooman · Pull Request #16005 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix message: Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10 #16005

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 16, 2018
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
0