Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.niko_home_control.light.NikoHomeControlData Class Reference

Public Member Functions

def __init__ (self, hass, nhc)
 
def async_update (self)
 
def get_state (self, aid)
 

Public Attributes

 available
 
 data
 
 hass
 

Private Attributes

 _nhc
 
 _system_info
 

Detailed Description

The class for handling data retrieval.

Definition at line 93 of file light.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.niko_home_control.light.NikoHomeControlData.__init__ (   self,
  hass,
  nhc 
)
Set up Niko Home Control Data object.

Definition at line 96 of file light.py.

Member Function Documentation

◆ async_update()

def homeassistant.components.niko_home_control.light.NikoHomeControlData.async_update (   self)
Get the latest data from the NikoHomeControl API.

Definition at line 105 of file light.py.

◆ get_state()

def homeassistant.components.niko_home_control.light.NikoHomeControlData.get_state (   self,
  aid 
)
Find and filter state based on action id.

Definition at line 117 of file light.py.

Member Data Documentation

◆ _nhc

homeassistant.components.niko_home_control.light.NikoHomeControlData._nhc
private

Definition at line 98 of file light.py.

◆ _system_info

homeassistant.components.niko_home_control.light.NikoHomeControlData._system_info
private

Definition at line 102 of file light.py.

◆ available

homeassistant.components.niko_home_control.light.NikoHomeControlData.available

Definition at line 100 of file light.py.

◆ data

homeassistant.components.niko_home_control.light.NikoHomeControlData.data

Definition at line 101 of file light.py.

◆ hass

homeassistant.components.niko_home_control.light.NikoHomeControlData.hass

Definition at line 99 of file light.py.


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