Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.wilight.parent_device.WiLightParent Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass, ConfigEntry config_entry)
 
PyWiLightDevice|None api (self)
 
None async_reset (self)
 
bool async_setup (self)
 
str host (self)
 

Private Attributes

 _api
 
 _hass
 

Detailed Description

Manages a single WiLight Parent Device.

Definition at line 20 of file parent_device.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.wilight.parent_device.WiLightParent.__init__ (   self,
HomeAssistant  hass,
ConfigEntry  config_entry 
)
Initialize the system.

Definition at line 23 of file parent_device.py.

Member Function Documentation

◆ api()

PyWiLightDevice | None homeassistant.components.wilight.parent_device.WiLightParent.api (   self)
Return the api of this parent.

Definition at line 35 of file parent_device.py.

◆ async_reset()

None homeassistant.components.wilight.parent_device.WiLightParent.async_reset (   self)
Reset api.

Definition at line 89 of file parent_device.py.

◆ async_setup()

bool homeassistant.components.wilight.parent_device.WiLightParent.async_setup (   self)
Set up a WiLight Parent Device based on host parameter.

Definition at line 39 of file parent_device.py.

◆ host()

str homeassistant.components.wilight.parent_device.WiLightParent.host (   self)
Return the host of this parent.

Definition at line 30 of file parent_device.py.

Member Data Documentation

◆ _api

homeassistant.components.wilight.parent_device.WiLightParent._api
private

Definition at line 85 of file parent_device.py.

◆ _hass

homeassistant.components.wilight.parent_device.WiLightParent._hass
private

Definition at line 26 of file parent_device.py.


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