Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.cast.helpers.ChromecastInfo Class Reference

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)
 

Detailed Description

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.

Member Function Documentation

◆ fill_out_missing_chromecast_info()

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.

◆ friendly_name()

str homeassistant.components.cast.helpers.ChromecastInfo.friendly_name (   self)
Return the Friendly Name.

Definition at line 43 of file helpers.py.

◆ is_audio_group()

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.

◆ uuid()

bool homeassistant.components.cast.helpers.ChromecastInfo.uuid (   self)
Return the UUID.

Definition at line 53 of file helpers.py.

Member Data Documentation

◆ CastInfo

homeassistant.components.cast.helpers.ChromecastInfo.CastInfo
static

Definition at line 39 of file helpers.py.

◆ is_dynamic_group

homeassistant.components.cast.helpers.ChromecastInfo.is_dynamic_group = attr.ib(type=bool | None, default=None)
static

Definition at line 40 of file helpers.py.


The documentation for this class was generated from the following file: