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

Classes

class  MonopriceZone
 

Functions

def _get_sources (config_entry)
 
def _get_sources_from_dict (data)
 
None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
int MAX_VOLUME = 38
 
int PARALLEL_UPDATES = 1
 

Detailed Description

Support for interfacing with Monoprice 6 zone home audio controller.

Function Documentation

◆ _get_sources()

def homeassistant.components.monoprice.media_player._get_sources (   config_entry)
private

Definition at line 50 of file media_player.py.

◆ _get_sources_from_dict()

def homeassistant.components.monoprice.media_player._get_sources_from_dict (   data)
private

Definition at line 37 of file media_player.py.

◆ async_setup_entry()

None homeassistant.components.monoprice.media_player.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Monoprice 6-zone amplifier platform.

Definition at line 58 of file media_player.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 30 of file media_player.py.

◆ MAX_VOLUME

int homeassistant.components.monoprice.media_player.MAX_VOLUME = 38

Definition at line 32 of file media_player.py.

◆ PARALLEL_UPDATES

int homeassistant.components.monoprice.media_player.PARALLEL_UPDATES = 1

Definition at line 33 of file media_player.py.