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

Functions

def async_remove_user (core.HomeAssistant hass, config_entries.ConfigEntry entry)
 
def async_setup_ha_cast (core.HomeAssistant hass, config_entries.ConfigEntry entry)
 

Variables

string ATTR_URL_PATH = "dashboard_path"
 
string ATTR_VIEW_PATH = "view_path"
 
string CAST_USER_NAME = "Home Assistant Cast"
 
tuple NO_URL_AVAILABLE_ERROR
 
string SERVICE_SHOW_VIEW = "show_lovelace_view"
 

Detailed Description

Home Assistant Cast integration for Cast.

Function Documentation

◆ async_remove_user()

def homeassistant.components.cast.home_assistant_cast.async_remove_user ( core.HomeAssistant  hass,
config_entries.ConfigEntry   entry 
)
Remove Home Assistant Cast user.

Definition at line 92 of file home_assistant_cast.py.

◆ async_setup_ha_cast()

def homeassistant.components.cast.home_assistant_cast.async_setup_ha_cast ( core.HomeAssistant  hass,
config_entries.ConfigEntry   entry 
)
Set up Home Assistant Cast.

Definition at line 26 of file home_assistant_cast.py.

Variable Documentation

◆ ATTR_URL_PATH

string homeassistant.components.cast.home_assistant_cast.ATTR_URL_PATH = "dashboard_path"

Definition at line 18 of file home_assistant_cast.py.

◆ ATTR_VIEW_PATH

string homeassistant.components.cast.home_assistant_cast.ATTR_VIEW_PATH = "view_path"

Definition at line 17 of file home_assistant_cast.py.

◆ CAST_USER_NAME

string homeassistant.components.cast.home_assistant_cast.CAST_USER_NAME = "Home Assistant Cast"

Definition at line 19 of file home_assistant_cast.py.

◆ NO_URL_AVAILABLE_ERROR

tuple homeassistant.components.cast.home_assistant_cast.NO_URL_AVAILABLE_ERROR
Initial value:
1 = (
2  "Home Assistant Cast requires your instance to be reachable via HTTPS. Enable Home"
3  " Assistant Cloud or set up an external URL with valid SSL certificates"
4 )

Definition at line 20 of file home_assistant_cast.py.

◆ SERVICE_SHOW_VIEW

string homeassistant.components.cast.home_assistant_cast.SERVICE_SHOW_VIEW = "show_lovelace_view"

Definition at line 16 of file home_assistant_cast.py.