Skip to content

Use roku.poweron method for media_player.turn_on#29123

Merged
pvizeli merged 1 commit into
home-assistant:devfrom
bwarden:roku-use-poweron
Nov 27, 2019
Merged

Use roku.poweron method for media_player.turn_on#29123
pvizeli merged 1 commit into
home-assistant:devfrom
bwarden:roku-use-poweron

Conversation

@bwarden
Copy link
Copy Markdown
Contributor

@bwarden bwarden commented Nov 27, 2019

Breaking Change:

Description:

Instead of using the roku.power method, which toggles power, implement the media_player.turn_on command for the roku component by calling the new roku.poweron method.

Fixes #28961, but depends on upstream jcarbaugh/python-roku#53 to be accepted and released.

Related issue (if applicable): fixes #28961

Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>

Example entry for configuration.yaml (if applicable):

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

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

  • The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
  • Untested files have been added to .coveragerc.

If the code does not interact with devices:

  • Tests have been added to verify that the new code works.

Instead of using the roku.power method, which toggles power,
implement the media_player.turn_on command for the roku component
by calling the new roku.poweron method.

Fixes home-assistant#28961, but depends on upstream
jcarbaugh/python-roku#53
@ktnrg45
Copy link
Copy Markdown
Contributor

ktnrg45 commented Nov 27, 2019

@bwarden I think that the issue may be the same as #28891

I have two PRs that should take care of the turn_on issues.
See #28897
home-assistant/frontend#4250

@pvizeli pvizeli merged commit fa1622f into home-assistant:dev Nov 27, 2019
@lock lock Bot locked and limited conversation to collaborators Nov 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

media_player.turn_on and media_player.turn_off services simply toggle Roku TV

4 participants