Classes | |
| class | CastDevice |
| class | CastMediaPlayerEntity |
| class | DynamicCastGroup |
Functions | |
| def | _async_create_cast_device (HomeAssistant hass, ChromecastInfo info) |
| def | _CastDeviceT |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| tuple | APP_IDS_UNRELIABLE_MEDIA_INFO = ("Netflix",) |
| string | CAST_SPLASH = "https://www.home-assistant.io/images/cast/splash.png" |
Provide functionality to interact with Cast devices on the network.
|
private |
Create a CastDevice entity or dynamic group from the chromecast object. Returns None if the cast device has already been added.
Definition at line 112 of file media_player.py.
|
private |
Definition at line 91 of file media_player.py.
| None homeassistant.components.cast.media_player.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
Set up Cast from a config entry.
Definition at line 140 of file media_player.py.
|
private |
Definition at line 82 of file media_player.py.
| tuple homeassistant.components.cast.media_player.APP_IDS_UNRELIABLE_MEDIA_INFO = ("Netflix",) |
Definition at line 84 of file media_player.py.
| string homeassistant.components.cast.media_player.CAST_SPLASH = "https://www.home-assistant.io/images/cast/splash.png" |
Definition at line 86 of file media_player.py.