Many media_players, such as AVRs, support a text based API for commands. Add support to https://github.com/home-assistant/core/blob/2ee2f85574885b684fe638add25428026f2313e1/homeassistant/components/anthemav/media_player.py to support sending arbitrary commands to the media_player, this would allow adding support to certain implementations eg. anthemavr, that go beyound the currently defined SUPPORT types.
Can be done by override turn_on, turn_off, volume_up, volume_down, volume_mute in Universal Media Players https://www.home-assistant.io/integrations/universal/
Thanks. That’s going the right direction. Unfortunatley the list of commands is rather limited. Is it possible to add at least the same commands supported by the media player?
In universal media_player you can add your player as child, and override the same commands of your player :
- platform: universal
name: MEDIA_PLAYER_NAME
children:- media_player.CHILD_1_ID // and yes, we need more commands