-
-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
Add device class to denonavr #100711
Add device class to denonavr #100711
Conversation
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! |
Hey there @ol-iver, @starkillerOG, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
Well, the denonavr integration gives you a audio video receiver (AVR), it is not a TV..... |
@starkillerOG @joostlek RECEIVER and out of constructor done |
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Oh and please click ready for review :) |
This won't resolve the linked issue (which probably should be closed anyways since its a feature request, and HA doesn't want issues for feature requests) because the HomeKit implementation doesn't currently support receivers. It needs to be added in these two places
core/homeassistant/components/homekit/util.py Line 617 in 5b422da
And than subclassed so its the same as TV but sets the category to AUDIO_RECEIVER = 34 HomeKit implementations generally map receivers as TVs so you'll also need to do a PR to the homekit integration to map receivers to be treated the same as TVs if you want to address what was requested in #94917 |
Yeah, but the TV integration is way better than it being a Switch. If the homekit integration will support Receivers in the future it will just work. |
I agree, I'm only saying it doesn't solve the problem reported in the issue and more work is needed to achieve that with another PR. |
I changed |
Thanks @DanielWeeber |
Proposed change
adding device_class TV to denonavr component
fixes partially #94917
Type of change
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.