Home Assistant Unofficial Reference 2024.12.1
media_player.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.blackbird.media_player.BlackbirdZone
 

Namespaces

 homeassistant.components.blackbird.media_player
 

Functions

None homeassistant.components.blackbird.media_player.setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 homeassistant.components.blackbird.media_player._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.blackbird.media_player.ATTR_SOURCE = "source"
 
 homeassistant.components.blackbird.media_player.BLACKBIRD_SETALLZONES_SCHEMA
 
string homeassistant.components.blackbird.media_player.CONF_SOURCES = "sources"
 
string homeassistant.components.blackbird.media_player.CONF_ZONES = "zones"
 
string homeassistant.components.blackbird.media_player.DATA_BLACKBIRD = "blackbird"
 
 homeassistant.components.blackbird.media_player.MEDIA_PLAYER_SCHEMA = vol.Schema({ATTR_ENTITY_ID: cv.comp_entity_ids})
 
 homeassistant.components.blackbird.media_player.PLATFORM_SCHEMA
 
 homeassistant.components.blackbird.media_player.SOURCE_IDS = vol.All(vol.Coerce(int), vol.Range(min=1, max=8))
 
 homeassistant.components.blackbird.media_player.SOURCE_SCHEMA = vol.Schema({vol.Required(CONF_NAME): cv.string})
 
 homeassistant.components.blackbird.media_player.ZONE_IDS = vol.All(vol.Coerce(int), vol.Range(min=1, max=8))
 
 homeassistant.components.blackbird.media_player.ZONE_SCHEMA = vol.Schema({vol.Required(CONF_NAME): cv.string})