Classes | |
| class | SonosAlarmEntity |
| class | SonosSwitchEntity |
Functions | |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| tuple | ALL_FEATURES |
| string | ATTR_CROSSFADE = "cross_fade" |
| string | ATTR_DURATION = "duration" |
| string | ATTR_ID = "alarm_id" |
| string | ATTR_INCLUDE_LINKED_ZONES = "include_linked_zones" |
| string | ATTR_LOUDNESS = "loudness" |
| string | ATTR_MUSIC_PLAYBACK_FULL_VOLUME = "surround_mode" |
| string | ATTR_NIGHT_SOUND = "night_mode" |
| string | ATTR_PLAY_MODE = "play_mode" |
| string | ATTR_RECURRENCE = "recurrence" |
| string | ATTR_SCHEDULED_TODAY = "scheduled_today" |
| string | ATTR_SPEECH_ENHANCEMENT = "dialog_level" |
| string | ATTR_STATUS_LIGHT = "status_light" |
| string | ATTR_SUB_ENABLED = "sub_enabled" |
| string | ATTR_SURROUND_ENABLED = "surround_enabled" |
| string | ATTR_TOUCH_CONTROLS = "buttons_enabled" |
| string | ATTR_VOLUME = "volume" |
| string | COORDINATOR_FEATURES = ATTR_CROSSFADE |
| tuple | POLL_REQUIRED |
| tuple | WEEKEND_DAYS = (0, 6) |
Entity representing a Sonos Alarm.
| None homeassistant.components.sonos.switch.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
|
private |
| 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 |