Hook - Media Player
Loading maintainers…
Loading versions…
This blueprint is part of the Controllers-Hooks Ecosystem. You can read more about this topic here.
Description​
This Hook blueprint allows to build a controller-based automation to control a media player. Supports volume setting, play/pause and track selection.
An automation created with this blueprint must be linked to a Controller automation. Controllers are blueprints which allow to easily integrate a wide range of controllers and use them to run a set of actions when interacting with them. They expose an abstract interface used by Hooks to create controller-based automations.
See the list of Controllers supported by this Hook for additional details.
Requirements​
Controller Automation
RequiredTo use this blueprint you need to first create an automation with a Controller blueprint. You can then create an automation with this Hook, making sure that you provide the same controller device used in the corresponding Controller blueprint. This key step will link the two automations and ensure the Hook will respond to events fired by the Controller.
List of Supported Controllers - Controllers DocsMedia Player Integration
RequiredThis integration provides the entity which represents a media player in Home Assistant. It should be activated by default so unless you tweaked the default configuration you're good to go.
Inputs​
Supported Controllers​
- Aqara WXKG11LM Wireless Mini Switch
- IKEA E1524/E1810 TRÃ…DFRI Wireless 5-Button Remote
- IKEA E1743 TRÃ…DFRI On/Off Switch & Dimmer
- IKEA E1744 SYMFONISK Rotary Remote
- IKEA E1766 TRÃ…DFRI Open/Close Remote
- IKEA E1812 TRÃ…DFRI Shortcut button
- IKEA E2001/E2002 STYRBAR Remote control
- IKEA E2123 SYMFONISK sound remote, gen 2
- IKEA E2201 RODRET Dimmer
- IKEA E2213 SOMRIG shortcut button
- IKEA ICTC-G-1 TRÃ…DFRI wireless dimmer
- OSRAM AC025XX00NJ SMART+ Switch Mini
- Philips 324131092621 Hue Dimmer switch
- Philips 8718699693985 Hue Smart Button
- Philips 929002398602 Hue Dimmer switch v2
- SONOFF SNZB-01 Wireless Switch
- Tuya ERS-10TZBVK-AA Smart knob
- Xiaomi WXCJKG11LM Aqara Opple 2 button remote
- Xiaomi WXCJKG12LM Aqara Opple 4 button remote
- Xiaomi WXCJKG13LM Aqara Opple 6 button remote
- Xiaomi WXKG01LM Mi Wireless Switch
Additional Notes​
Not all media players support the customization of the number of steps for volume control, due to the fact that some of them do not expose their current volume level to Home Assistant. In these situations, the automation will fallback to the media_player.volume_up and media_player.volume_down services.
Changelog​
Loading changelog…