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

Namespaces

 camera
 
 config_flow
 
 const
 
 coordinator
 
 diagnostics
 
 sensor
 
 weather
 

Functions

bool async_setup_entry (HomeAssistant hass, ConfigEntry config_entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry config_entry)
 
DeviceInfo device_info (ConfigEntry config_entry)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 DEFAULT_RADAR_UPDATE_INTERVAL = timedelta(minutes=5)
 
 DEFAULT_WEATHER_UPDATE_INTERVAL = timedelta(minutes=5)
 
list PLATFORMS = [Platform.CAMERA, Platform.SENSOR, Platform.WEATHER]
 

Detailed Description

The Environment Canada (EC) component.

Function Documentation

◆ async_setup_entry()

bool homeassistant.components.environment_canada.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
Set up EC as config entry.

Definition at line 25 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.environment_canada.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
Unload a config entry.

Definition at line 80 of file __init__.py.

◆ device_info()

DeviceInfo homeassistant.components.environment_canada.device_info ( ConfigEntry  config_entry)
Build and return the device info for EC.

Definition at line 91 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 22 of file __init__.py.

◆ DEFAULT_RADAR_UPDATE_INTERVAL

homeassistant.components.environment_canada.DEFAULT_RADAR_UPDATE_INTERVAL = timedelta(minutes=5)

Definition at line 17 of file __init__.py.

◆ DEFAULT_WEATHER_UPDATE_INTERVAL

homeassistant.components.environment_canada.DEFAULT_WEATHER_UPDATE_INTERVAL = timedelta(minutes=5)

Definition at line 18 of file __init__.py.

◆ PLATFORMS

list homeassistant.components.environment_canada.PLATFORMS = [Platform.CAMERA, Platform.SENSOR, Platform.WEATHER]

Definition at line 20 of file __init__.py.