Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.greenwave.light.GatewayData Class Reference

Public Member Functions

def __init__ (self, host, token)
 
def greenwave (self)
 
def update (self)
 

Private Attributes

 _greenwave
 
 _host
 
 _token
 

Detailed Description

Handle Gateway data and limit updates.

Definition at line 110 of file light.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.greenwave.light.GatewayData.__init__ (   self,
  host,
  token 
)
Initialize the data object.

Definition at line 113 of file light.py.

Member Function Documentation

◆ greenwave()

def homeassistant.components.greenwave.light.GatewayData.greenwave (   self)
Return Gateway API object.

Definition at line 120 of file light.py.

◆ update()

def homeassistant.components.greenwave.light.GatewayData.update (   self)
Get the latest data from the gateway.

Definition at line 125 of file light.py.

Member Data Documentation

◆ _greenwave

homeassistant.components.greenwave.light.GatewayData._greenwave
private

Definition at line 117 of file light.py.

◆ _host

homeassistant.components.greenwave.light.GatewayData._host
private

Definition at line 115 of file light.py.

◆ _token

homeassistant.components.greenwave.light.GatewayData._token
private

Definition at line 116 of file light.py.


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