Home Assistant Unofficial Reference 2024.12.1
media_player.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.sonos.media_player.SonosMediaPlayerEntity
 

Namespaces

 homeassistant.components.sonos.media_player
 

Functions

None homeassistant.components.sonos.media_player.async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

 homeassistant.components.sonos.media_player._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.sonos.media_player.ATTR_ALARM_ID = "alarm_id"
 
string homeassistant.components.sonos.media_player.ATTR_ENABLED = "enabled"
 
string homeassistant.components.sonos.media_player.ATTR_INCLUDE_LINKED_ZONES = "include_linked_zones"
 
string homeassistant.components.sonos.media_player.ATTR_MASTER = "master"
 
string homeassistant.components.sonos.media_player.ATTR_QUEUE_POSITION = "queue_position"
 
string homeassistant.components.sonos.media_player.ATTR_SLEEP_TIME = "sleep_time"
 
string homeassistant.components.sonos.media_player.ATTR_VOLUME = "volume"
 
string homeassistant.components.sonos.media_player.ATTR_WITH_GROUP = "with_group"
 
float homeassistant.components.sonos.media_player.LONG_SERVICE_TIMEOUT = 30.0
 
dictionary homeassistant.components.sonos.media_player.REPEAT_TO_SONOS
 
string homeassistant.components.sonos.media_player.SERVICE_CLEAR_TIMER = "clear_sleep_timer"
 
string homeassistant.components.sonos.media_player.SERVICE_GET_QUEUE = "get_queue"
 
string homeassistant.components.sonos.media_player.SERVICE_PLAY_QUEUE = "play_queue"
 
string homeassistant.components.sonos.media_player.SERVICE_REMOVE_FROM_QUEUE = "remove_from_queue"
 
string homeassistant.components.sonos.media_player.SERVICE_RESTORE = "restore"
 
string homeassistant.components.sonos.media_player.SERVICE_SET_TIMER = "set_sleep_timer"
 
string homeassistant.components.sonos.media_player.SERVICE_SNAPSHOT = "snapshot"
 
string homeassistant.components.sonos.media_player.SERVICE_UPDATE_ALARM = "update_alarm"
 
dictionary homeassistant.components.sonos.media_player.SONOS_TO_REPEAT = {meaning: mode for mode, meaning in REPEAT_TO_SONOS.items()}
 
float homeassistant.components.sonos.media_player.UNJOIN_SERVICE_TIMEOUT = 0.1
 
list homeassistant.components.sonos.media_player.UPNP_ERRORS_TO_IGNORE = ["701", "711", "712"]
 
int homeassistant.components.sonos.media_player.VOLUME_INCREMENT = 2