Home Assistant Unofficial Reference 2024.12.1
switch.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.sonos.switch.SonosAlarmEntity
 
class  homeassistant.components.sonos.switch.SonosSwitchEntity
 

Namespaces

 homeassistant.components.sonos.switch
 

Functions

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

Variables

 homeassistant.components.sonos.switch._LOGGER = logging.getLogger(__name__)
 
tuple homeassistant.components.sonos.switch.ALL_FEATURES
 
string homeassistant.components.sonos.switch.ATTR_CROSSFADE = "cross_fade"
 
string homeassistant.components.sonos.switch.ATTR_DURATION = "duration"
 
string homeassistant.components.sonos.switch.ATTR_ID = "alarm_id"
 
string homeassistant.components.sonos.switch.ATTR_INCLUDE_LINKED_ZONES = "include_linked_zones"
 
string homeassistant.components.sonos.switch.ATTR_LOUDNESS = "loudness"
 
string homeassistant.components.sonos.switch.ATTR_MUSIC_PLAYBACK_FULL_VOLUME = "surround_mode"
 
string homeassistant.components.sonos.switch.ATTR_NIGHT_SOUND = "night_mode"
 
string homeassistant.components.sonos.switch.ATTR_PLAY_MODE = "play_mode"
 
string homeassistant.components.sonos.switch.ATTR_RECURRENCE = "recurrence"
 
string homeassistant.components.sonos.switch.ATTR_SCHEDULED_TODAY = "scheduled_today"
 
string homeassistant.components.sonos.switch.ATTR_SPEECH_ENHANCEMENT = "dialog_level"
 
string homeassistant.components.sonos.switch.ATTR_STATUS_LIGHT = "status_light"
 
string homeassistant.components.sonos.switch.ATTR_SUB_ENABLED = "sub_enabled"
 
string homeassistant.components.sonos.switch.ATTR_SURROUND_ENABLED = "surround_enabled"
 
string homeassistant.components.sonos.switch.ATTR_TOUCH_CONTROLS = "buttons_enabled"
 
string homeassistant.components.sonos.switch.ATTR_VOLUME = "volume"
 
string homeassistant.components.sonos.switch.COORDINATOR_FEATURES = ATTR_CROSSFADE
 
tuple homeassistant.components.sonos.switch.POLL_REQUIRED
 
tuple homeassistant.components.sonos.switch.WEEKEND_DAYS = (0, 6)