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

E2123 Media Player Controller: toggle play/pause #1102

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sevorl
Copy link

@sevorl sevorl commented Dec 29, 2024

The Ikea E2123 Medie Player controller has a toggle button to play/pause. However, the mapping was set to "PLAY" instead of "PLAY_PAUSE", so it was not possible to pause the media player.

Pausing was only possible with a custom
merge_mapping:
toggle: play_pause

(Note: the same button is named "toggle" or "play_pause" depending on the firmware of the device)

The Ikea E2123 Medie Player controller has a toggle button to play/pause.
However, the mapping was set to "PLAY" instead of "PLAY_PAUSE", so it was not possible to pause the media player.

Pausing was only possible with a custom
  merge_mapping: 
    toggle: play_pause
  
(Note: the same button is named "toggle" or "play_pause" depending on the firmware of the device)
Copy link

codecov bot commented Dec 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95%. Comparing base (ef87f41) to head (758b59f).
Report is 3 commits behind head on main.

Additional details and impacted files
@@         Coverage Diff          @@
##           main   #1102   +/-   ##
====================================
  Coverage    95%     95%           
====================================
  Files        65      65           
  Lines      2713    2713           
====================================
  Hits       2582    2582           
  Misses      131     131           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Allow to toggle play/pause music, not only play
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.

1 participant