Home Assistant Unofficial Reference 2024.12.1
homeassistant.helpers.entity_component Namespace Reference

Classes

class  EntityComponent
 

Functions

None async_update_entity (HomeAssistant hass, str entity_id)
 

Variables

 _EntityT = TypeVar("_EntityT", bound=entity.Entity, default=entity.Entity)
 
string DATA_INSTANCES = "entity_components"
 
 DEFAULT_SCAN_INTERVAL = timedelta(seconds=15)
 

Detailed Description

Helpers for components that manage entities.

Function Documentation

◆ async_update_entity()

None homeassistant.helpers.entity_component.async_update_entity ( HomeAssistant  hass,
str  entity_id 
)
Trigger an update for an entity.

Definition at line 46 of file entity_component.py.

Variable Documentation

◆ _EntityT

homeassistant.helpers.entity_component._EntityT = TypeVar("_EntityT", bound=entity.Entity, default=entity.Entity)
private

Definition at line 42 of file entity_component.py.

◆ DATA_INSTANCES

string homeassistant.helpers.entity_component.DATA_INSTANCES = "entity_components"

Definition at line 40 of file entity_component.py.

◆ DEFAULT_SCAN_INTERVAL

homeassistant.helpers.entity_component.DEFAULT_SCAN_INTERVAL = timedelta(seconds=15)

Definition at line 39 of file entity_component.py.