Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/entity_media_player.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ sidebar_label: Media Player
| sound_mode_list | list | None | Dynamic list of available sound modes (set by platform, empty means sound mode not supported)
| source | string | None | The currently selected input source for the media player.
| source_list | list | None | The list of possible input sources for the media player. (This list should contain human readable names, suitible for frontend display)

| media_image_url | string | None | URL that represents the current image.
| media_image_remotely_accessible | boolean | False | Return `True` if property `media_image_url` is accessible outside of the home network.

## Methods
### Select sound mode
Optional. Switch the sound mode of the media player.

class MyMediaPlayer(MediaPlayerDevice):
# Implement one of these methods.

def select_sound_mode(self, sound_mode):
"""Switch the sound mode of the entity."""

Expand Down