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

Expose mute and volume status and fix volume status parsing #76

Merged
merged 3 commits into from
Dec 22, 2023

Conversation

NasaGeek
Copy link
Contributor

Trying to get this info surfaced in hdmi_cec-backed home-assistant media-player components.

Prevents KeyErrors if is_updated property is accessed before device is
initialized.
Renamed _mute_value to _volume_status to be more clear and match the
language found at www.cec-o-matic.com and in the spec.
CEC spec at https://github.com/floe/CEC/blob/master/extras/CEC_Specs.pdf
says volume status represents 0-100%. I verified this behavior with an
audio receiver as well.
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@konikvranik konikvranik merged commit 019d246 into konikvranik:master Dec 22, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants