Private Attributes | |
| _attr_available | |
| _attr_unique_id | |
| _entry_id | |
| _group | |
Static Private Attributes | |
| bool | _attr_should_poll = False |
| tuple | _attr_supported_features |
Additional Inherited Members | |
Public Attributes inherited from homeassistant.components.media_player.MediaPlayerEntity | |
| state | |
Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| device_entry | |
| entity_id | |
| hass | |
| parallel_updates | |
| platform | |
| registry_entry | |
Static Public Attributes inherited from homeassistant.components.media_player.MediaPlayerEntity | |
| bool | |
| MediaPlayerEntityFeature | |
| None | |
Static Public Attributes inherited from homeassistant.helpers.entity.Entity | |
| bool | |
| EntityPlatform | |
| HomeAssistant | |
| None | |
| StateInfo | |
| StateType | |
| str | |
Representation of a Snapcast group device.
Definition at line 107 of file media_player.py.
| def homeassistant.components.snapcast.media_player.SnapcastGroupDevice.__init__ | ( | self, | |
| group, | |||
| uid_part, | |||
| entry_id | |||
| ) |
Initialize the Snapcast group device.
Definition at line 117 of file media_player.py.
| None homeassistant.components.snapcast.media_player.SnapcastGroupDevice.async_added_to_hass | ( | self | ) |
Subscribe to group events.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 124 of file media_player.py.
| None homeassistant.components.snapcast.media_player.SnapcastGroupDevice.async_mute_volume | ( | self, | |
| bool | mute | ||
| ) |
Send the mute command.
Reimplemented from homeassistant.components.media_player.MediaPlayerEntity.
Definition at line 183 of file media_player.py.
| def homeassistant.components.snapcast.media_player.SnapcastGroupDevice.async_restore | ( | self | ) |
Restore the group state.
Definition at line 197 of file media_player.py.
| None homeassistant.components.snapcast.media_player.SnapcastGroupDevice.async_select_source | ( | self, | |
| str | source | ||
| ) |
Set input source.
Reimplemented from homeassistant.components.media_player.MediaPlayerEntity.
Definition at line 176 of file media_player.py.
| None homeassistant.components.snapcast.media_player.SnapcastGroupDevice.async_set_volume_level | ( | self, | |
| float | volume | ||
| ) |
Set the volume level.
Reimplemented from homeassistant.components.media_player.MediaPlayerEntity.
Definition at line 188 of file media_player.py.
| None homeassistant.components.snapcast.media_player.SnapcastGroupDevice.async_will_remove_from_hass | ( | self | ) |
Disconnect group object when removed.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 129 of file media_player.py.
| def homeassistant.components.snapcast.media_player.SnapcastGroupDevice.identifier | ( | self | ) |
Return the snapcast identifier.
Definition at line 147 of file media_player.py.
| def homeassistant.components.snapcast.media_player.SnapcastGroupDevice.is_volume_muted | ( | self | ) |
Volume muted.
Reimplemented from homeassistant.components.media_player.MediaPlayerEntity.
Definition at line 167 of file media_player.py.
| def homeassistant.components.snapcast.media_player.SnapcastGroupDevice.name | ( | self | ) |
Return the name of the device.
Reimplemented from homeassistant.helpers.entity.Entity.
Definition at line 152 of file media_player.py.
| None homeassistant.components.snapcast.media_player.SnapcastGroupDevice.set_availability | ( | self, | |
| bool | available | ||
| ) |
Set availability of group.
Definition at line 134 of file media_player.py.
| def homeassistant.components.snapcast.media_player.SnapcastGroupDevice.snapshot | ( | self | ) |
Snapshot the group state.
Definition at line 193 of file media_player.py.
| def homeassistant.components.snapcast.media_player.SnapcastGroupDevice.source | ( | self | ) |
Return the current input source.
Reimplemented from homeassistant.components.media_player.MediaPlayerEntity.
Definition at line 157 of file media_player.py.
| def homeassistant.components.snapcast.media_player.SnapcastGroupDevice.source_list | ( | self | ) |
List of available input sources.
Reimplemented from homeassistant.components.media_player.MediaPlayerEntity.
Definition at line 172 of file media_player.py.
| MediaPlayerState | None homeassistant.components.snapcast.media_player.SnapcastGroupDevice.state | ( | self | ) |
Return the state of the player.
Reimplemented from homeassistant.components.media_player.MediaPlayerEntity.
Definition at line 140 of file media_player.py.
| def homeassistant.components.snapcast.media_player.SnapcastGroupDevice.volume_level | ( | self | ) |
Return the volume level.
Reimplemented from homeassistant.components.media_player.MediaPlayerEntity.
Definition at line 162 of file media_player.py.
|
private |
Definition at line 119 of file media_player.py.
|
staticprivate |
Definition at line 110 of file media_player.py.
|
staticprivate |
Definition at line 111 of file media_player.py.
|
private |
Definition at line 122 of file media_player.py.
|
private |
Definition at line 121 of file media_player.py.
|
private |
Definition at line 120 of file media_player.py.