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

Classes

class  MusicCastMediaPlayer
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
tuple MUSIC_PLAYER_BASE_SUPPORT
 

Detailed Description

Implementation of the musiccast media player.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.yamaha_musiccast.media_player.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up MusicCast sensor based on a config entry.

Definition at line 55 of file media_player.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.yamaha_musiccast.media_player._LOGGER = logging.getLogger(__name__)
private

Definition at line 43 of file media_player.py.

◆ MUSIC_PLAYER_BASE_SUPPORT

tuple homeassistant.components.yamaha_musiccast.media_player.MUSIC_PLAYER_BASE_SUPPORT
Initial value:
1 = (
2  MediaPlayerEntityFeature.SHUFFLE_SET
3  | MediaPlayerEntityFeature.REPEAT_SET
4  | MediaPlayerEntityFeature.SELECT_SOUND_MODE
5  | MediaPlayerEntityFeature.SELECT_SOURCE
6  | MediaPlayerEntityFeature.GROUPING
7  | MediaPlayerEntityFeature.PLAY_MEDIA
8 )

Definition at line 45 of file media_player.py.