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

Namespaces

 alarm_control_panel
 
 binary_sensor
 
 button
 
 config
 
 config_flow
 
 const
 
 coordinator
 
 cover
 
 fan
 
 helpers
 
 image
 
 light
 
 lock
 
 number
 
 select
 
 sensor
 
 switch
 
 template_entity
 
 trigger
 
 trigger_entity
 
 vacuum
 
 weather
 

Functions

None _process_config (HomeAssistant hass, ConfigType hass_config)
 
bool async_setup (HomeAssistant hass, ConfigType config)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 
None config_entry_update_listener (HomeAssistant hass, ConfigEntry entry)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 

Detailed Description

The template component.

Function Documentation

◆ _process_config()

None homeassistant.components.template._process_config ( HomeAssistant  hass,
ConfigType  hass_config 
)
private
Process config.

Definition at line 119 of file __init__.py.

◆ async_setup()

bool homeassistant.components.template.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the template integration.

Definition at line 38 of file __init__.py.

◆ async_setup_entry()

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

Definition at line 82 of file __init__.py.

◆ async_unload_entry()

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

Definition at line 112 of file __init__.py.

◆ config_entry_update_listener()

None homeassistant.components.template.config_entry_update_listener ( HomeAssistant  hass,
ConfigEntry  entry 
)
Update listener, called when the config entry options are changed.

Definition at line 107 of file __init__.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 34 of file __init__.py.