Public Member Functions | |
| ChromecastInfo | fill_out_missing_chromecast_info (self, HomeAssistant hass) |
| str | friendly_name (self) |
| bool | is_audio_group (self) |
| bool | uuid (self) |
Static Public Attributes | |
| CastInfo | |
| is_dynamic_group = attr.ib(type=bool | None, default=None) | |
Class to hold all data about a chromecast for creating connections. This also has the same attributes as the mDNS fields by zeroconf.
Definition at line 33 of file helpers.py.
| ChromecastInfo homeassistant.components.cast.helpers.ChromecastInfo.fill_out_missing_chromecast_info | ( | self, | |
| HomeAssistant | hass | ||
| ) |
Return a new ChromecastInfo object with missing attributes filled in. Uses blocking HTTP / HTTPS.
Definition at line 57 of file helpers.py.
| str homeassistant.components.cast.helpers.ChromecastInfo.friendly_name | ( | self | ) |
Return the Friendly Name.
Definition at line 43 of file helpers.py.
| bool homeassistant.components.cast.helpers.ChromecastInfo.is_audio_group | ( | self | ) |
Return if the cast is an audio group.
Definition at line 48 of file helpers.py.
| bool homeassistant.components.cast.helpers.ChromecastInfo.uuid | ( | self | ) |
Return the UUID.
Definition at line 53 of file helpers.py.
|
static |
Definition at line 39 of file helpers.py.
|
static |
Definition at line 40 of file helpers.py.