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

Classes

class  PioneerDevice
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONF_SOURCES = "sources"
 
string DEFAULT_NAME = "Pioneer AVR"
 
int DEFAULT_PORT = 23
 
 Final
 
int MAX_SOURCE_NUMBERS = 60
 
int MAX_VOLUME = 185
 
 PLATFORM_SCHEMA
 

Detailed Description

Support for Pioneer Network Receivers.

Function Documentation

◆ setup_platform()

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

Definition at line 47 of file media_player.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 23 of file media_player.py.

◆ CONF_SOURCES

string homeassistant.components.pioneer.media_player.CONF_SOURCES = "sources"

Definition at line 25 of file media_player.py.

◆ DEFAULT_NAME

string homeassistant.components.pioneer.media_player.DEFAULT_NAME = "Pioneer AVR"

Definition at line 27 of file media_player.py.

◆ DEFAULT_PORT

int homeassistant.components.pioneer.media_player.DEFAULT_PORT = 23

Definition at line 28 of file media_player.py.

◆ Final

homeassistant.components.pioneer.media_player.Final

Definition at line 29 of file media_player.py.

◆ MAX_SOURCE_NUMBERS

int homeassistant.components.pioneer.media_player.MAX_SOURCE_NUMBERS = 60

Definition at line 34 of file media_player.py.

◆ MAX_VOLUME

int homeassistant.components.pioneer.media_player.MAX_VOLUME = 185

Definition at line 33 of file media_player.py.

◆ PLATFORM_SCHEMA

homeassistant.components.pioneer.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  vol.Optional(CONF_PORT, default=DEFAULT_PORT): cv.port,
6  vol.Optional(CONF_TIMEOUT, default=DEFAULT_TIMEOUT): cv.socket_timeout,
7  vol.Optional(CONF_SOURCES, default=DEFAULT_SOURCES): {cv.string: cv.string},
8  }
9 )

Definition at line 36 of file media_player.py.