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

Namespaces

 api
 
 application_credentials
 
 config_flow
 
 const
 
 entity
 
 notify
 
 sensor
 
 services
 

Functions

bool async_setup (HomeAssistant hass, ConfigType config)
 
bool async_setup_entry (HomeAssistant hass, GoogleMailConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, GoogleMailConfigEntry entry)
 

Variables

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

Detailed Description

Support for Google Mail.

Function Documentation

◆ async_setup()

bool homeassistant.components.google_mail.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the Google Mail platform.

Definition at line 26 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.google_mail.async_setup_entry ( HomeAssistant  hass,
GoogleMailConfigEntry  entry 
)
Set up Google Mail from a config entry.

Definition at line 33 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.google_mail.async_unload_entry ( HomeAssistant  hass,
GoogleMailConfigEntry  entry 
)
Unload a config entry.

Definition at line 60 of file __init__.py.

Variable Documentation

◆ CONFIG_SCHEMA

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

Definition at line 23 of file __init__.py.

◆ GoogleMailConfigEntry

homeassistant.components.google_mail.GoogleMailConfigEntry

Definition at line 19 of file __init__.py.

◆ PLATFORMS

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

Definition at line 21 of file __init__.py.