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

Namespaces

 config_flow
 
 const
 
 entity
 
 notify
 
 sensor
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
 CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)
 
list PLATFORMS = [Platform.NOTIFY, Platform.SENSOR]
 

Detailed Description

The slack integration.

Function Documentation

◆ async_setup()

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

Definition at line 34 of file __init__.py.

◆ async_setup_entry()

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

Definition at line 40 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.slack._LOGGER = logging.getLogger(__name__)
private

Definition at line 27 of file __init__.py.

◆ CONFIG_SCHEMA

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

Definition at line 31 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.slack.PLATFORMS = [Platform.NOTIFY, Platform.SENSOR]

Definition at line 29 of file __init__.py.