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

Volume goes up at media_player.volume_down #54

Open
balk77 opened this issue Sep 12, 2023 · 2 comments
Open

Volume goes up at media_player.volume_down #54

balk77 opened this issue Sep 12, 2023 · 2 comments

Comments

@balk77
Copy link

balk77 commented Sep 12, 2023

Hi, it seems that volume is going up at media_player.volume_down instead of down. Could this be the issue? First DEFAULT_CHANGE_STEP_VOLUME_DOWN is set to -2 and subsequently it is multiplied with -1, rendering a positive number. Just tested it and it seems to work when the -1 is removed.

DEFAULT_CHANGE_STEP_VOLUME_DOWN = -2

-1 * self._raumfeld.options[OPTION_CHANGE_STEP_VOLUME_DOWN]

@B5r1oJ0A9G
Copy link
Owner

Hi, maybe this is a duplicate of #52 which is fixed in the current master branch. Can you please check with the master branch and report back if it can be repruduced there?

@gormed
Copy link

gormed commented Feb 3, 2024

I am using version v0.1.15-alpha3, installed via HACS and I have the same issue (using the media control component).


Fixed it like above, removing the -1 in /root/homeassistant/custom_components/teufel_raumfeld/media_player.py - searched for OPTION_CHANGE_STEP_VOLUME_DOWN to get to the line.

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

No branches or pull requests

3 participants