Skip to content
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

Fix attribute error for media_player/roku if roku device is unreachable and shows a persistent notification #5786

Merged
merged 1 commit into from Feb 7, 2017

Conversation

tchellomello
Copy link
Contributor

@tchellomello tchellomello commented Feb 7, 2017

Description:
This patch fixes the attribute error for media_player/roku if roku device is unreachable and shows a persistent notification.

screenshot from 2017-02-06 23-42-12

Related issue (if applicable): fixes #5785

Example entry for configuration.yaml (if applicable):

- platform: roku
  host: 192.168.169.120

Checklist:
If the code communicates with devices, web services, or third-party tools:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • New dependencies have been added to the REQUIREMENTS variable ([example][ex-requir]).
  • New dependencies are only imported inside functions that use them ([example][ex-import]).
  • New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • New files were added to .coveragerc.

@mention-bot
Copy link

@tchellomello, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bah2830, @robbiet480 and @fabaff to be potential reviewers.

@balloob balloob merged commit 305d261 into home-assistant:dev Feb 7, 2017
@tchellomello tchellomello deleted the roku_fail_notify branch February 7, 2017 06:01
Ordep pushed a commit to Ordep/home-assistant that referenced this pull request Feb 9, 2017
@home-assistant home-assistant locked and limited conversation to collaborators May 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Roku throws an error message: "AttributeError: 'dict' object has no attribute 'userdevicename'"
4 participants