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

Sonos support "on" for alexa #23427

Closed
wants to merge 2 commits into from
Closed

Conversation

pvizeli
Copy link
Member

@pvizeli pvizeli commented Apr 26, 2019

Description:

Bring back the support for using Alexa for Sonos. Not sure if that is the correct way? @balloob ?

@pvizeli pvizeli added this to the 0.92.1 milestone Apr 26, 2019
@pvizeli pvizeli requested a review from amelchio as a code owner April 26, 2019 08:22
@ghost ghost assigned amelchio Apr 26, 2019
@ghost
Copy link

ghost commented Apr 26, 2019

Hey there @amelchio, mind taking a look at this pull request as its been labeled with a integration (sonos) you are listed as a codeowner for? Thanks!

This is a automatic comment generated by codeowners-mention to help ensure issues and pull requests are seen by the right people.

@pvizeli pvizeli changed the title Sonos support on/off Sonos support on/off for alexa Apr 26, 2019
@pvizeli pvizeli changed the title Sonos support on/off for alexa Sonos support on for alexa Apr 26, 2019
@pvizeli pvizeli changed the title Sonos support on for alexa Sonos support "on" for alexa Apr 26, 2019
Copy link
Contributor

@amelchio amelchio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is strictly speaking wrong. Since Sonos are always-on devices they do not support turn_on/turn_off.

The Sonos media_player platform currently has an implementation that maps on/off to play/stop (should probably be play/pause) but maybe there is a better place to do this if it is a general requirement for e.g. Alexa?

@pvizeli pvizeli closed this Apr 26, 2019
@pvizeli pvizeli deleted the patch-1 branch April 26, 2019 08:39
@amelchio
Copy link
Contributor

I should have added, I think this approach is okay for a hotfix. It must have been broken by #22878.

@pvizeli pvizeli removed this from the 0.92.1 milestone Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants