Classes | |
| class | _RoomSource |
| class | _SourceType |
| class | Control4Room |
Functions | |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities) |
| def | get_rooms (HomeAssistant hass, ConfigEntry entry) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | CONTROL4_CURRENT_VIDEO_DEVICE = "CURRENT_VIDEO_DEVICE" |
| string | CONTROL4_MEDIA_INFO = "CURRENT MEDIA INFO" |
| string | CONTROL4_MUTED_STATE = "IS_MUTED" |
| string | CONTROL4_PARENT_ID = "parentId" |
| string | CONTROL4_PAUSED = "PAUSED" |
| string | CONTROL4_PLAYING = "PLAYING" |
| string | CONTROL4_POWER_STATE = "POWER_STATE" |
| string | CONTROL4_STOPPED = "STOPPED" |
| string | CONTROL4_VOLUME_STATE = "CURRENT_VOLUME" |
| dictionary | VARIABLES_OF_INTEREST |
Platform for Control4 Rooms Media Players.
| None homeassistant.components.control4.media_player.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
Set up Control4 rooms from a config entry.
Definition at line 80 of file media_player.py.
| def homeassistant.components.control4.media_player.get_rooms | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Return a list of all Control4 rooms.
Definition at line 70 of file media_player.py.
|
private |
Definition at line 31 of file media_player.py.
| string homeassistant.components.control4.media_player.CONTROL4_CURRENT_VIDEO_DEVICE = "CURRENT_VIDEO_DEVICE" |
Definition at line 36 of file media_player.py.
| string homeassistant.components.control4.media_player.CONTROL4_MEDIA_INFO = "CURRENT MEDIA INFO" |
Definition at line 40 of file media_player.py.
| string homeassistant.components.control4.media_player.CONTROL4_MUTED_STATE = "IS_MUTED" |
Definition at line 35 of file media_player.py.
| string homeassistant.components.control4.media_player.CONTROL4_PARENT_ID = "parentId" |
Definition at line 42 of file media_player.py.
| string homeassistant.components.control4.media_player.CONTROL4_PAUSED = "PAUSED" |
Definition at line 38 of file media_player.py.
| string homeassistant.components.control4.media_player.CONTROL4_PLAYING = "PLAYING" |
Definition at line 37 of file media_player.py.
| string homeassistant.components.control4.media_player.CONTROL4_POWER_STATE = "POWER_STATE" |
Definition at line 33 of file media_player.py.
| string homeassistant.components.control4.media_player.CONTROL4_STOPPED = "STOPPED" |
Definition at line 39 of file media_player.py.
| string homeassistant.components.control4.media_player.CONTROL4_VOLUME_STATE = "CURRENT_VOLUME" |
Definition at line 34 of file media_player.py.
| dictionary homeassistant.components.control4.media_player.VARIABLES_OF_INTEREST |
Definition at line 44 of file media_player.py.