Home Assistant Unofficial Reference 2024.12.1
template_entity.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.template.template_entity._TemplateAttribute
 
class  homeassistant.components.template.template_entity.TemplateEntity
 

Namespaces

 homeassistant.components.template.template_entity
 

Functions

vol.Schema homeassistant.components.template.template_entity.make_template_entity_common_schema (str default_name)
 
dict[str, Any] homeassistant.components.template.template_entity.rewrite_common_legacy_to_modern_conf (HomeAssistant hass, dict[str, Any] entity_cfg, dict[str, str]|None extra_legacy_fields=None)
 

Variables

 homeassistant.components.template.template_entity._LOGGER = logging.getLogger(__name__)
 
dictionary homeassistant.components.template.template_entity.LEGACY_FIELDS
 
 homeassistant.components.template.template_entity.TEMPLATE_ENTITY_ATTRIBUTES_SCHEMA_LEGACY
 
 homeassistant.components.template.template_entity.TEMPLATE_ENTITY_AVAILABILITY_SCHEMA
 
 homeassistant.components.template.template_entity.TEMPLATE_ENTITY_AVAILABILITY_SCHEMA_LEGACY
 
 homeassistant.components.template.template_entity.TEMPLATE_ENTITY_COMMON_SCHEMA
 
 homeassistant.components.template.template_entity.TEMPLATE_ENTITY_COMMON_SCHEMA_LEGACY
 
 homeassistant.components.template.template_entity.TEMPLATE_ENTITY_ICON_SCHEMA