Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.discord Namespace Reference

Namespaces

 config_flow
 
 const
 
 notify
 

Functions

bool async_setup (HomeAssistant hass, ConfigType config)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 

Variables

 CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)
 
list PLATFORMS = [Platform.NOTIFY]
 

Detailed Description

The discord integration.

Function Documentation

◆ async_setup()

bool homeassistant.components.discord.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the Discord component.

Definition at line 20 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.discord.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up Discord from a config entry.

Definition at line 27 of file __init__.py.

Variable Documentation

◆ CONFIG_SCHEMA

homeassistant.components.discord.CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)

Definition at line 17 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.discord.PLATFORMS = [Platform.NOTIFY]

Definition at line 15 of file __init__.py.