-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Add Bose soundtouch discovery support and upgrade libsoundtouch library #7005
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
Conversation
Hi @CharlesBlonde, It seems you haven't yet signed a CLA. Please do so here. Once you do that we will be able to review and accept this pull request. Thanks! |
@CharlesBlonde, thanks for your PR! By analyzing the history of the files in this pull request, we identified @fabaff, @balloob and @rmkraus to be potential reviewers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use hass.data instead global DEVICE over your code. That would be greate 👍
Following your remark, I removed the global DEVICE variable... and it was a massive refactoring :) Besides, I updated media_player Edited: The Travis job failed but it has nothing to do with my work and since a few hours every jobs failed with the same Alexa tests so I think the error is somewhere else :) |
69c47ce
to
875e31f
Compare
I just commit a small rewording and push force to trigger a new Travis build. |
|
||
if discovery_info: | ||
# Discovery | ||
host = discovery_info[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discovery info is a dictionary. Make sure your local dev environment has the latest netdisco
(as required by the latest HASS)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ho S****, you are right. I should be using an old version in my Virtualenv because when I did my tests, it was a tuple
and not a dictionary
.
It should be better now.
It is shown in the service dev tool in the frontend. (and maybe one day in a config GUI) |
875e31f
to
a1dd0bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome 🐬
Description:
Update Bose Soundtouch component to:
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.io#2401
Checklist:
If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
tox
run successfully. Your PR cannot be merged unless tests passREQUIREMENTS
variable (example).requirements_all.txt
by runningscript/gen_requirements_all.py
..coveragerc
.If the code does not interact with devices:
tox
run successfully. Your PR cannot be merged unless tests pass