Skip to content

Fix supported features gates in media_player volume up/down services#23419

Merged
balloob merged 3 commits intodevfrom
fix_media_player_gates
Apr 26, 2019
Merged

Fix supported features gates in media_player volume up/down services#23419
balloob merged 3 commits intodevfrom
fix_media_player_gates

Conversation

@andrewsayre
Copy link
Copy Markdown
Member

Description:

Extend the functionality introduced in #22878 to allow passing in a list or acceptable feature sets to check before invoking a service. Updates the gates for volume_down and volume_up to accept either SUPPORT_VOLUME_SET or SUPPORT_VOLUME_STEP. This is not a breaking change because it loosens the tolerance for these services.

Related issue: fixes #23418

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.

@andrewsayre andrewsayre added this to the 0.92.1 milestone Apr 26, 2019
@andrewsayre andrewsayre requested a review from a team as a code owner April 26, 2019 02:23
@balloob balloob merged commit b5725f8 into dev Apr 26, 2019
@delete-merged-branch delete-merged-branch Bot deleted the fix_media_player_gates branch April 26, 2019 04:42
pvizeli pushed a commit that referenced this pull request Apr 26, 2019
…23419)

* Correct media player feature gates

* Fix failing test

* Lint...
@pvizeli pvizeli mentioned this pull request Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Media Player volume up/down requires SUPPORT_VOLUME_SET but not SUPPORT_VOLUME_STEP

4 participants