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

Classes

class  DenonDevice
 

Functions

None setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string DEFAULT_NAME = "Music station"
 
dictionary MEDIA_MODES
 
dictionary NORMAL_INPUTS
 
 PLATFORM_SCHEMA
 
tuple SUPPORT_DENON
 
tuple SUPPORT_MEDIA_MODES
 

Detailed Description

Support for Denon Network Receivers.

Function Documentation

◆ setup_platform()

None homeassistant.components.denon.media_player.setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the Denon platform.

Definition at line 80 of file media_player.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 22 of file media_player.py.

◆ DEFAULT_NAME

string homeassistant.components.denon.media_player.DEFAULT_NAME = "Music station"

Definition at line 24 of file media_player.py.

◆ MEDIA_MODES

dictionary homeassistant.components.denon.media_player.MEDIA_MODES
Initial value:
1 = {
2  "Tuner": "TUNER",
3  "Media server": "SERVER",
4  "Ipod dock": "IPOD",
5  "Net/USB": "NET/USB",
6  "Rapsody": "RHAPSODY",
7  "Napster": "NAPSTER",
8  "Pandora": "PANDORA",
9  "LastFM": "LASTFM",
10  "Flickr": "FLICKR",
11  "Favorites": "FAVORITES",
12  "Internet Radio": "IRADIO",
13  "USB/IPOD": "USB/IPOD",
14 }

Definition at line 60 of file media_player.py.

◆ NORMAL_INPUTS

dictionary homeassistant.components.denon.media_player.NORMAL_INPUTS
Initial value:
1 = {
2  "Cd": "CD",
3  "Dvd": "DVD",
4  "Blue ray": "BD",
5  "TV": "TV",
6  "Satellite / Cable": "SAT/CBL",
7  "Game": "GAME",
8  "Game2": "GAME2",
9  "Video Aux": "V.AUX",
10  "Dock": "DOCK",
11 }

Definition at line 48 of file media_player.py.

◆ PLATFORM_SCHEMA

homeassistant.components.denon.media_player.PLATFORM_SCHEMA
Initial value:
1 = MEDIA_PLAYER_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_HOST): cv.string,
4  vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
5  }
6 )

Definition at line 41 of file media_player.py.

◆ SUPPORT_DENON

tuple homeassistant.components.denon.media_player.SUPPORT_DENON
Initial value:
1 = (
2  MediaPlayerEntityFeature.VOLUME_SET
3  | MediaPlayerEntityFeature.VOLUME_MUTE
4  | MediaPlayerEntityFeature.TURN_ON
5  | MediaPlayerEntityFeature.TURN_OFF
6  | MediaPlayerEntityFeature.SELECT_SOURCE
7 )

Definition at line 26 of file media_player.py.

◆ SUPPORT_MEDIA_MODES

tuple homeassistant.components.denon.media_player.SUPPORT_MEDIA_MODES
Initial value:
1 = (
2  MediaPlayerEntityFeature.PAUSE
3  | MediaPlayerEntityFeature.STOP
4  | MediaPlayerEntityFeature.PREVIOUS_TRACK
5  | MediaPlayerEntityFeature.NEXT_TRACK
6  | MediaPlayerEntityFeature.PLAY
7 )

Definition at line 33 of file media_player.py.