Home Assistant Unofficial Reference 2024.12.1
homeassistant.loader.Components Class Reference

Public Member Functions

ModuleWrapper __getattr__ (self, str comp_name)
 
None __init__ (self, HomeAssistant hass)
 

Private Attributes

 _hass
 

Detailed Description

Helper to load components.

Definition at line 1540 of file loader.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.loader.Components.__init__ (   self,
HomeAssistant  hass 
)
Initialize the Components class.

Definition at line 1543 of file loader.py.

Member Function Documentation

◆ __getattr__()

ModuleWrapper homeassistant.loader.Components.__getattr__ (   self,
str  comp_name 
)
Fetch a component.

Definition at line 1547 of file loader.py.

Member Data Documentation

◆ _hass

homeassistant.loader.Components._hass
private

Definition at line 1545 of file loader.py.


The documentation for this class was generated from the following file: