Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.cast.discovery Namespace Reference

Functions

None _remove_chromecast (HomeAssistant hass, ChromecastInfo info)
 
None config_entry_updated (HomeAssistant hass, ConfigEntry config_entry)
 
None discover_chromecast (HomeAssistant hass, pychromecast.models.CastInfo cast_info)
 
None setup_internal_discovery (HomeAssistant hass, ConfigEntry config_entry)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

Deal with Cast discovery.

Function Documentation

◆ _remove_chromecast()

None homeassistant.components.cast.discovery._remove_chromecast ( HomeAssistant  hass,
ChromecastInfo  info 
)
private

Definition at line 44 of file discovery.py.

◆ config_entry_updated()

None homeassistant.components.cast.discovery.config_entry_updated ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
Handle config entry being updated.

Definition at line 100 of file discovery.py.

◆ discover_chromecast()

None homeassistant.components.cast.discovery.discover_chromecast ( HomeAssistant  hass,
pychromecast.models.CastInfo   cast_info 
)
Discover a Chromecast.

Definition at line 25 of file discovery.py.

◆ setup_internal_discovery()

None homeassistant.components.cast.discovery.setup_internal_discovery ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
Set up the pychromecast internal discovery.

Definition at line 51 of file discovery.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.cast.discovery._LOGGER = logging.getLogger(__name__)
private

Definition at line 22 of file discovery.py.