Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.media_player.const Namespace Reference

Variables

 __all__ = all_with_deprecated_constants(globals())
 
 __dir__
 
 __getattr__ = partial(check_if_deprecated_constant, module_globals=globals())
 
 _DEPRECATED_MEDIA_CLASS_ALBUM = DeprecatedConstantEnum(MediaClass.ALBUM, "2025.10")
 
 _DEPRECATED_MEDIA_CLASS_APP = DeprecatedConstantEnum(MediaClass.APP, "2025.10")
 
 _DEPRECATED_MEDIA_CLASS_ARTIST = DeprecatedConstantEnum(MediaClass.ARTIST, "2025.10")
 
 _DEPRECATED_MEDIA_CLASS_CHANNEL = DeprecatedConstantEnum(MediaClass.CHANNEL, "2025.10")
 
 _DEPRECATED_MEDIA_CLASS_COMPOSER
 
 _DEPRECATED_MEDIA_CLASS_CONTRIBUTING_ARTIST
 
 _DEPRECATED_MEDIA_CLASS_DIRECTORY
 
 _DEPRECATED_MEDIA_CLASS_EPISODE = DeprecatedConstantEnum(MediaClass.EPISODE, "2025.10")
 
 _DEPRECATED_MEDIA_CLASS_GAME = DeprecatedConstantEnum(MediaClass.GAME, "2025.10")
 
 _DEPRECATED_MEDIA_CLASS_GENRE = DeprecatedConstantEnum(MediaClass.GENRE, "2025.10")
 
 _DEPRECATED_MEDIA_CLASS_IMAGE = DeprecatedConstantEnum(MediaClass.IMAGE, "2025.10")
 
 _DEPRECATED_MEDIA_CLASS_MOVIE = DeprecatedConstantEnum(MediaClass.MOVIE, "2025.10")
 
 _DEPRECATED_MEDIA_CLASS_MUSIC = DeprecatedConstantEnum(MediaClass.MUSIC, "2025.10")
 
 _DEPRECATED_MEDIA_CLASS_PLAYLIST
 
 _DEPRECATED_MEDIA_CLASS_PODCAST = DeprecatedConstantEnum(MediaClass.PODCAST, "2025.10")
 
 _DEPRECATED_MEDIA_CLASS_SEASON = DeprecatedConstantEnum(MediaClass.SEASON, "2025.10")
 
 _DEPRECATED_MEDIA_CLASS_TRACK = DeprecatedConstantEnum(MediaClass.TRACK, "2025.10")
 
 _DEPRECATED_MEDIA_CLASS_TV_SHOW = DeprecatedConstantEnum(MediaClass.TV_SHOW, "2025.10")
 
 _DEPRECATED_MEDIA_CLASS_URL = DeprecatedConstantEnum(MediaClass.URL, "2025.10")
 
 _DEPRECATED_MEDIA_CLASS_VIDEO = DeprecatedConstantEnum(MediaClass.VIDEO, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_ALBUM = DeprecatedConstantEnum(MediaType.ALBUM, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_APP = DeprecatedConstantEnum(MediaType.APP, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_APPS = DeprecatedConstantEnum(MediaType.APPS, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_ARTIST = DeprecatedConstantEnum(MediaType.ARTIST, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_CHANNEL = DeprecatedConstantEnum(MediaType.CHANNEL, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_CHANNELS = DeprecatedConstantEnum(MediaType.CHANNELS, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_COMPOSER = DeprecatedConstantEnum(MediaType.COMPOSER, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_CONTRIBUTING_ARTIST
 
 _DEPRECATED_MEDIA_TYPE_EPISODE = DeprecatedConstantEnum(MediaType.EPISODE, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_GAME = DeprecatedConstantEnum(MediaType.GAME, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_GENRE = DeprecatedConstantEnum(MediaType.GENRE, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_IMAGE = DeprecatedConstantEnum(MediaType.IMAGE, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_MOVIE = DeprecatedConstantEnum(MediaType.MOVIE, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_MUSIC = DeprecatedConstantEnum(MediaType.MUSIC, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_PLAYLIST = DeprecatedConstantEnum(MediaType.PLAYLIST, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_PODCAST = DeprecatedConstantEnum(MediaType.PODCAST, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_SEASON = DeprecatedConstantEnum(MediaType.SEASON, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_TRACK = DeprecatedConstantEnum(MediaType.TRACK, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_TVSHOW = DeprecatedConstantEnum(MediaType.TVSHOW, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_URL = DeprecatedConstantEnum(MediaType.URL, "2025.10")
 
 _DEPRECATED_MEDIA_TYPE_VIDEO = DeprecatedConstantEnum(MediaType.VIDEO, "2025.10")
 
 _DEPRECATED_REPEAT_MODE_ALL = DeprecatedConstantEnum(RepeatMode.ALL, "2025.10")
 
 _DEPRECATED_REPEAT_MODE_OFF = DeprecatedConstantEnum(RepeatMode.OFF, "2025.10")
 
 _DEPRECATED_REPEAT_MODE_ONE = DeprecatedConstantEnum(RepeatMode.ONE, "2025.10")
 
 _DEPRECATED_SUPPORT_BROWSE_MEDIA
 
 _DEPRECATED_SUPPORT_CLEAR_PLAYLIST
 
 _DEPRECATED_SUPPORT_GROUPING
 
 _DEPRECATED_SUPPORT_NEXT_TRACK
 
 _DEPRECATED_SUPPORT_PAUSE
 
 _DEPRECATED_SUPPORT_PLAY
 
 _DEPRECATED_SUPPORT_PLAY_MEDIA
 
 _DEPRECATED_SUPPORT_PREVIOUS_TRACK
 
 _DEPRECATED_SUPPORT_REPEAT_SET
 
 _DEPRECATED_SUPPORT_SEEK
 
 _DEPRECATED_SUPPORT_SELECT_SOUND_MODE
 
 _DEPRECATED_SUPPORT_SELECT_SOURCE
 
 _DEPRECATED_SUPPORT_SHUFFLE_SET
 
 _DEPRECATED_SUPPORT_STOP
 
 _DEPRECATED_SUPPORT_TURN_OFF
 
 _DEPRECATED_SUPPORT_TURN_ON
 
 _DEPRECATED_SUPPORT_VOLUME_MUTE
 
 _DEPRECATED_SUPPORT_VOLUME_SET
 
 _DEPRECATED_SUPPORT_VOLUME_STEP
 
string ATTR_APP_ID = "app_id"
 
string ATTR_APP_NAME = "app_name"
 
string ATTR_ENTITY_PICTURE_LOCAL = "entity_picture_local"
 
string ATTR_GROUP_MEMBERS = "group_members"
 
string ATTR_INPUT_SOURCE = "source"
 
string ATTR_INPUT_SOURCE_LIST = "source_list"
 
string ATTR_MEDIA_ALBUM_ARTIST = "media_album_artist"
 
string ATTR_MEDIA_ALBUM_NAME = "media_album_name"
 
string ATTR_MEDIA_ANNOUNCE = "announce"
 
string ATTR_MEDIA_ARTIST = "media_artist"
 
string ATTR_MEDIA_CHANNEL = "media_channel"
 
string ATTR_MEDIA_CONTENT_ID = "media_content_id"
 
string ATTR_MEDIA_CONTENT_TYPE = "media_content_type"
 
string ATTR_MEDIA_DURATION = "media_duration"
 
string ATTR_MEDIA_ENQUEUE = "enqueue"
 
string ATTR_MEDIA_EPISODE = "media_episode"
 
string ATTR_MEDIA_EXTRA = "extra"
 
string ATTR_MEDIA_PLAYLIST = "media_playlist"
 
string ATTR_MEDIA_POSITION = "media_position"
 
string ATTR_MEDIA_POSITION_UPDATED_AT = "media_position_updated_at"
 
string ATTR_MEDIA_REPEAT = "repeat"
 
string ATTR_MEDIA_SEASON = "media_season"
 
string ATTR_MEDIA_SEEK_POSITION = "seek_position"
 
string ATTR_MEDIA_SERIES_TITLE = "media_series_title"
 
string ATTR_MEDIA_SHUFFLE = "shuffle"
 
string ATTR_MEDIA_TITLE = "media_title"
 
string ATTR_MEDIA_TRACK = "media_track"
 
string ATTR_MEDIA_VOLUME_LEVEL = "volume_level"
 
string ATTR_MEDIA_VOLUME_MUTED = "is_volume_muted"
 
string ATTR_SOUND_MODE = "sound_mode"
 
string ATTR_SOUND_MODE_LIST = "sound_mode_list"
 
int CONTENT_AUTH_EXPIRY_TIME = 3600 * 24
 
string DOMAIN = "media_player"
 
list REPEAT_MODES = [cls.value for cls in RepeatMode]
 
string SERVICE_CLEAR_PLAYLIST = "clear_playlist"
 
string SERVICE_JOIN = "join"
 
string SERVICE_PLAY_MEDIA = "play_media"
 
string SERVICE_SELECT_SOUND_MODE = "select_sound_mode"
 
string SERVICE_SELECT_SOURCE = "select_source"
 
string SERVICE_UNJOIN = "unjoin"
 

Detailed Description

Provides the constants needed for component.

Variable Documentation

◆ __all__

homeassistant.components.media_player.const.__all__ = all_with_deprecated_constants(globals())
private

Definition at line 289 of file const.py.

◆ __dir__

homeassistant.components.media_player.const.__dir__
private
Initial value:
1 = partial(
2  dir_with_deprecated_constants, module_globals_keys=[*globals().keys()]
3 )

Definition at line 286 of file const.py.

◆ __getattr__

homeassistant.components.media_player.const.__getattr__ = partial(check_if_deprecated_constant, module_globals=globals())
private

Definition at line 285 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_ALBUM

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_ALBUM = DeprecatedConstantEnum(MediaClass.ALBUM, "2025.10")
private

Definition at line 90 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_APP

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_APP = DeprecatedConstantEnum(MediaClass.APP, "2025.10")
private

Definition at line 91 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_ARTIST

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_ARTIST = DeprecatedConstantEnum(MediaClass.ARTIST, "2025.10")
private

Definition at line 92 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_CHANNEL

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_CHANNEL = DeprecatedConstantEnum(MediaClass.CHANNEL, "2025.10")
private

Definition at line 93 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_COMPOSER

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_COMPOSER
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaClass.COMPOSER, "2025.10"
3 )

Definition at line 94 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_CONTRIBUTING_ARTIST

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_CONTRIBUTING_ARTIST
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaClass.CONTRIBUTING_ARTIST, "2025.10"
3 )

Definition at line 97 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_DIRECTORY

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_DIRECTORY
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaClass.DIRECTORY, "2025.10"
3 )

Definition at line 100 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_EPISODE

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_EPISODE = DeprecatedConstantEnum(MediaClass.EPISODE, "2025.10")
private

Definition at line 103 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_GAME

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_GAME = DeprecatedConstantEnum(MediaClass.GAME, "2025.10")
private

Definition at line 104 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_GENRE

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_GENRE = DeprecatedConstantEnum(MediaClass.GENRE, "2025.10")
private

Definition at line 105 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_IMAGE

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_IMAGE = DeprecatedConstantEnum(MediaClass.IMAGE, "2025.10")
private

Definition at line 106 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_MOVIE

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_MOVIE = DeprecatedConstantEnum(MediaClass.MOVIE, "2025.10")
private

Definition at line 107 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_MUSIC

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_MUSIC = DeprecatedConstantEnum(MediaClass.MUSIC, "2025.10")
private

Definition at line 108 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_PLAYLIST

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_PLAYLIST
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaClass.PLAYLIST, "2025.10"
3 )

Definition at line 109 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_PODCAST

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_PODCAST = DeprecatedConstantEnum(MediaClass.PODCAST, "2025.10")
private

Definition at line 112 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_SEASON

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_SEASON = DeprecatedConstantEnum(MediaClass.SEASON, "2025.10")
private

Definition at line 113 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_TRACK

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_TRACK = DeprecatedConstantEnum(MediaClass.TRACK, "2025.10")
private

Definition at line 114 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_TV_SHOW

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_TV_SHOW = DeprecatedConstantEnum(MediaClass.TV_SHOW, "2025.10")
private

Definition at line 115 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_URL

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_URL = DeprecatedConstantEnum(MediaClass.URL, "2025.10")
private

Definition at line 116 of file const.py.

◆ _DEPRECATED_MEDIA_CLASS_VIDEO

homeassistant.components.media_player.const._DEPRECATED_MEDIA_CLASS_VIDEO = DeprecatedConstantEnum(MediaClass.VIDEO, "2025.10")
private

Definition at line 117 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_ALBUM

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_ALBUM = DeprecatedConstantEnum(MediaType.ALBUM, "2025.10")
private

Definition at line 148 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_APP

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_APP = DeprecatedConstantEnum(MediaType.APP, "2025.10")
private

Definition at line 149 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_APPS

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_APPS = DeprecatedConstantEnum(MediaType.APPS, "2025.10")
private

Definition at line 150 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_ARTIST

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_ARTIST = DeprecatedConstantEnum(MediaType.ARTIST, "2025.10")
private

Definition at line 151 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_CHANNEL

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_CHANNEL = DeprecatedConstantEnum(MediaType.CHANNEL, "2025.10")
private

Definition at line 152 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_CHANNELS

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_CHANNELS = DeprecatedConstantEnum(MediaType.CHANNELS, "2025.10")
private

Definition at line 153 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_COMPOSER

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_COMPOSER = DeprecatedConstantEnum(MediaType.COMPOSER, "2025.10")
private

Definition at line 154 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_CONTRIBUTING_ARTIST

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_CONTRIBUTING_ARTIST
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaType.CONTRIBUTING_ARTIST, "2025.10"
3 )

Definition at line 155 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_EPISODE

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_EPISODE = DeprecatedConstantEnum(MediaType.EPISODE, "2025.10")
private

Definition at line 158 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_GAME

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_GAME = DeprecatedConstantEnum(MediaType.GAME, "2025.10")
private

Definition at line 159 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_GENRE

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_GENRE = DeprecatedConstantEnum(MediaType.GENRE, "2025.10")
private

Definition at line 160 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_IMAGE

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_IMAGE = DeprecatedConstantEnum(MediaType.IMAGE, "2025.10")
private

Definition at line 161 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_MOVIE

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_MOVIE = DeprecatedConstantEnum(MediaType.MOVIE, "2025.10")
private

Definition at line 162 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_MUSIC

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_MUSIC = DeprecatedConstantEnum(MediaType.MUSIC, "2025.10")
private

Definition at line 163 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_PLAYLIST

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_PLAYLIST = DeprecatedConstantEnum(MediaType.PLAYLIST, "2025.10")
private

Definition at line 164 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_PODCAST

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_PODCAST = DeprecatedConstantEnum(MediaType.PODCAST, "2025.10")
private

Definition at line 165 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_SEASON

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_SEASON = DeprecatedConstantEnum(MediaType.SEASON, "2025.10")
private

Definition at line 166 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_TRACK

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_TRACK = DeprecatedConstantEnum(MediaType.TRACK, "2025.10")
private

Definition at line 167 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_TVSHOW

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_TVSHOW = DeprecatedConstantEnum(MediaType.TVSHOW, "2025.10")
private

Definition at line 168 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_URL

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_URL = DeprecatedConstantEnum(MediaType.URL, "2025.10")
private

Definition at line 169 of file const.py.

◆ _DEPRECATED_MEDIA_TYPE_VIDEO

homeassistant.components.media_player.const._DEPRECATED_MEDIA_TYPE_VIDEO = DeprecatedConstantEnum(MediaType.VIDEO, "2025.10")
private

Definition at line 170 of file const.py.

◆ _DEPRECATED_REPEAT_MODE_ALL

homeassistant.components.media_player.const._DEPRECATED_REPEAT_MODE_ALL = DeprecatedConstantEnum(RepeatMode.ALL, "2025.10")
private

Definition at line 191 of file const.py.

◆ _DEPRECATED_REPEAT_MODE_OFF

homeassistant.components.media_player.const._DEPRECATED_REPEAT_MODE_OFF = DeprecatedConstantEnum(RepeatMode.OFF, "2025.10")
private

Definition at line 192 of file const.py.

◆ _DEPRECATED_REPEAT_MODE_ONE

homeassistant.components.media_player.const._DEPRECATED_REPEAT_MODE_ONE = DeprecatedConstantEnum(RepeatMode.ONE, "2025.10")
private

Definition at line 193 of file const.py.

◆ _DEPRECATED_SUPPORT_BROWSE_MEDIA

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_BROWSE_MEDIA
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.BROWSE_MEDIA, "2025.10"
3 )

Definition at line 274 of file const.py.

◆ _DEPRECATED_SUPPORT_CLEAR_PLAYLIST

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_CLEAR_PLAYLIST
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.CLEAR_PLAYLIST, "2025.10"
3 )

Definition at line 262 of file const.py.

◆ _DEPRECATED_SUPPORT_GROUPING

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_GROUPING
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.GROUPING, "2025.10"
3 )

Definition at line 280 of file const.py.

◆ _DEPRECATED_SUPPORT_NEXT_TRACK

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_NEXT_TRACK
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.NEXT_TRACK, "2025.10"
3 )

Definition at line 241 of file const.py.

◆ _DEPRECATED_SUPPORT_PAUSE

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_PAUSE
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.PAUSE, "2025.10"
3 )

Definition at line 226 of file const.py.

◆ _DEPRECATED_SUPPORT_PLAY

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_PLAY
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.PLAY, "2025.10"
3 )

Definition at line 265 of file const.py.

◆ _DEPRECATED_SUPPORT_PLAY_MEDIA

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_PLAY_MEDIA
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.PLAY_MEDIA, "2025.10"
3 )

Definition at line 250 of file const.py.

◆ _DEPRECATED_SUPPORT_PREVIOUS_TRACK

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_PREVIOUS_TRACK
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.PREVIOUS_TRACK, "2025.10"
3 )

Definition at line 238 of file const.py.

◆ _DEPRECATED_SUPPORT_REPEAT_SET

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_REPEAT_SET
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.REPEAT_SET, "2025.10"
3 )

Definition at line 277 of file const.py.

◆ _DEPRECATED_SUPPORT_SEEK

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_SEEK
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.SEEK, "2025.10"
3 )

Definition at line 229 of file const.py.

◆ _DEPRECATED_SUPPORT_SELECT_SOUND_MODE

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_SELECT_SOUND_MODE
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.SELECT_SOUND_MODE, "2025.10"
3 )

Definition at line 271 of file const.py.

◆ _DEPRECATED_SUPPORT_SELECT_SOURCE

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_SELECT_SOURCE
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.SELECT_SOURCE, "2025.10"
3 )

Definition at line 256 of file const.py.

◆ _DEPRECATED_SUPPORT_SHUFFLE_SET

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_SHUFFLE_SET
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.SHUFFLE_SET, "2025.10"
3 )

Definition at line 268 of file const.py.

◆ _DEPRECATED_SUPPORT_STOP

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_STOP
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.STOP, "2025.10"
3 )

Definition at line 259 of file const.py.

◆ _DEPRECATED_SUPPORT_TURN_OFF

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_TURN_OFF
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.TURN_OFF, "2025.10"
3 )

Definition at line 247 of file const.py.

◆ _DEPRECATED_SUPPORT_TURN_ON

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_TURN_ON
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.TURN_ON, "2025.10"
3 )

Definition at line 244 of file const.py.

◆ _DEPRECATED_SUPPORT_VOLUME_MUTE

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_VOLUME_MUTE
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.VOLUME_MUTE, "2025.10"
3 )

Definition at line 235 of file const.py.

◆ _DEPRECATED_SUPPORT_VOLUME_SET

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_VOLUME_SET
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.VOLUME_SET, "2025.10"
3 )

Definition at line 232 of file const.py.

◆ _DEPRECATED_SUPPORT_VOLUME_STEP

homeassistant.components.media_player.const._DEPRECATED_SUPPORT_VOLUME_STEP
private
Initial value:
1 = DeprecatedConstantEnum(
2  MediaPlayerEntityFeature.VOLUME_STEP, "2025.10"
3 )

Definition at line 253 of file const.py.

◆ ATTR_APP_ID

string homeassistant.components.media_player.const.ATTR_APP_ID = "app_id"

Definition at line 16 of file const.py.

◆ ATTR_APP_NAME

string homeassistant.components.media_player.const.ATTR_APP_NAME = "app_name"

Definition at line 17 of file const.py.

◆ ATTR_ENTITY_PICTURE_LOCAL

string homeassistant.components.media_player.const.ATTR_ENTITY_PICTURE_LOCAL = "entity_picture_local"

Definition at line 18 of file const.py.

◆ ATTR_GROUP_MEMBERS

string homeassistant.components.media_player.const.ATTR_GROUP_MEMBERS = "group_members"

Definition at line 19 of file const.py.

◆ ATTR_INPUT_SOURCE

string homeassistant.components.media_player.const.ATTR_INPUT_SOURCE = "source"

Definition at line 20 of file const.py.

◆ ATTR_INPUT_SOURCE_LIST

string homeassistant.components.media_player.const.ATTR_INPUT_SOURCE_LIST = "source_list"

Definition at line 21 of file const.py.

◆ ATTR_MEDIA_ALBUM_ARTIST

string homeassistant.components.media_player.const.ATTR_MEDIA_ALBUM_ARTIST = "media_album_artist"

Definition at line 23 of file const.py.

◆ ATTR_MEDIA_ALBUM_NAME

string homeassistant.components.media_player.const.ATTR_MEDIA_ALBUM_NAME = "media_album_name"

Definition at line 24 of file const.py.

◆ ATTR_MEDIA_ANNOUNCE

string homeassistant.components.media_player.const.ATTR_MEDIA_ANNOUNCE = "announce"

Definition at line 22 of file const.py.

◆ ATTR_MEDIA_ARTIST

string homeassistant.components.media_player.const.ATTR_MEDIA_ARTIST = "media_artist"

Definition at line 25 of file const.py.

◆ ATTR_MEDIA_CHANNEL

string homeassistant.components.media_player.const.ATTR_MEDIA_CHANNEL = "media_channel"

Definition at line 26 of file const.py.

◆ ATTR_MEDIA_CONTENT_ID

string homeassistant.components.media_player.const.ATTR_MEDIA_CONTENT_ID = "media_content_id"

Definition at line 27 of file const.py.

◆ ATTR_MEDIA_CONTENT_TYPE

string homeassistant.components.media_player.const.ATTR_MEDIA_CONTENT_TYPE = "media_content_type"

Definition at line 28 of file const.py.

◆ ATTR_MEDIA_DURATION

string homeassistant.components.media_player.const.ATTR_MEDIA_DURATION = "media_duration"

Definition at line 29 of file const.py.

◆ ATTR_MEDIA_ENQUEUE

string homeassistant.components.media_player.const.ATTR_MEDIA_ENQUEUE = "enqueue"

Definition at line 30 of file const.py.

◆ ATTR_MEDIA_EPISODE

string homeassistant.components.media_player.const.ATTR_MEDIA_EPISODE = "media_episode"

Definition at line 32 of file const.py.

◆ ATTR_MEDIA_EXTRA

string homeassistant.components.media_player.const.ATTR_MEDIA_EXTRA = "extra"

Definition at line 31 of file const.py.

◆ ATTR_MEDIA_PLAYLIST

string homeassistant.components.media_player.const.ATTR_MEDIA_PLAYLIST = "media_playlist"

Definition at line 33 of file const.py.

◆ ATTR_MEDIA_POSITION

string homeassistant.components.media_player.const.ATTR_MEDIA_POSITION = "media_position"

Definition at line 34 of file const.py.

◆ ATTR_MEDIA_POSITION_UPDATED_AT

string homeassistant.components.media_player.const.ATTR_MEDIA_POSITION_UPDATED_AT = "media_position_updated_at"

Definition at line 35 of file const.py.

◆ ATTR_MEDIA_REPEAT

string homeassistant.components.media_player.const.ATTR_MEDIA_REPEAT = "repeat"

Definition at line 36 of file const.py.

◆ ATTR_MEDIA_SEASON

string homeassistant.components.media_player.const.ATTR_MEDIA_SEASON = "media_season"

Definition at line 37 of file const.py.

◆ ATTR_MEDIA_SEEK_POSITION

string homeassistant.components.media_player.const.ATTR_MEDIA_SEEK_POSITION = "seek_position"

Definition at line 38 of file const.py.

◆ ATTR_MEDIA_SERIES_TITLE

string homeassistant.components.media_player.const.ATTR_MEDIA_SERIES_TITLE = "media_series_title"

Definition at line 39 of file const.py.

◆ ATTR_MEDIA_SHUFFLE

string homeassistant.components.media_player.const.ATTR_MEDIA_SHUFFLE = "shuffle"

Definition at line 40 of file const.py.

◆ ATTR_MEDIA_TITLE

string homeassistant.components.media_player.const.ATTR_MEDIA_TITLE = "media_title"

Definition at line 41 of file const.py.

◆ ATTR_MEDIA_TRACK

string homeassistant.components.media_player.const.ATTR_MEDIA_TRACK = "media_track"

Definition at line 42 of file const.py.

◆ ATTR_MEDIA_VOLUME_LEVEL

string homeassistant.components.media_player.const.ATTR_MEDIA_VOLUME_LEVEL = "volume_level"

Definition at line 43 of file const.py.

◆ ATTR_MEDIA_VOLUME_MUTED

string homeassistant.components.media_player.const.ATTR_MEDIA_VOLUME_MUTED = "is_volume_muted"

Definition at line 44 of file const.py.

◆ ATTR_SOUND_MODE

string homeassistant.components.media_player.const.ATTR_SOUND_MODE = "sound_mode"

Definition at line 45 of file const.py.

◆ ATTR_SOUND_MODE_LIST

string homeassistant.components.media_player.const.ATTR_SOUND_MODE_LIST = "sound_mode_list"

Definition at line 46 of file const.py.

◆ CONTENT_AUTH_EXPIRY_TIME

int homeassistant.components.media_player.const.CONTENT_AUTH_EXPIRY_TIME = 3600 * 24

Definition at line 14 of file const.py.

◆ DOMAIN

string homeassistant.components.media_player.const.DOMAIN = "media_player"

Definition at line 48 of file const.py.

◆ REPEAT_MODES

list homeassistant.components.media_player.const.REPEAT_MODES = [cls.value for cls in RepeatMode]

Definition at line 194 of file const.py.

◆ SERVICE_CLEAR_PLAYLIST

string homeassistant.components.media_player.const.SERVICE_CLEAR_PLAYLIST = "clear_playlist"

Definition at line 173 of file const.py.

◆ SERVICE_JOIN

string homeassistant.components.media_player.const.SERVICE_JOIN = "join"

Definition at line 174 of file const.py.

◆ SERVICE_PLAY_MEDIA

string homeassistant.components.media_player.const.SERVICE_PLAY_MEDIA = "play_media"

Definition at line 175 of file const.py.

◆ SERVICE_SELECT_SOUND_MODE

string homeassistant.components.media_player.const.SERVICE_SELECT_SOUND_MODE = "select_sound_mode"

Definition at line 176 of file const.py.

◆ SERVICE_SELECT_SOURCE

string homeassistant.components.media_player.const.SERVICE_SELECT_SOURCE = "select_source"

Definition at line 177 of file const.py.

◆ SERVICE_UNJOIN

string homeassistant.components.media_player.const.SERVICE_UNJOIN = "unjoin"

Definition at line 178 of file const.py.