Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.growatt_server.sensor.GrowattData Class Reference

Public Member Functions

def __init__ (self, api, username, password, device_id, growatt_type)
 
def get_currency (self)
 
def get_data (self, entity_description)
 
def update (self)
 

Public Attributes

 api
 
 data
 
 device_id
 
 growatt_type
 
 password
 
 plant_id
 
 previous_values
 
 username
 

Detailed Description

The class for handling data retrieval.

Definition at line 182 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.growatt_server.sensor.GrowattData.__init__ (   self,
  api,
  username,
  password,
  device_id,
  growatt_type 
)
Initialize the probe.

Definition at line 185 of file __init__.py.

Member Function Documentation

◆ get_currency()

def homeassistant.components.growatt_server.sensor.GrowattData.get_currency (   self)
Get the currency.

Definition at line 273 of file __init__.py.

◆ get_data()

def homeassistant.components.growatt_server.sensor.GrowattData.get_data (   self,
  entity_description 
)
Get the data.

Definition at line 277 of file __init__.py.

◆ update()

def homeassistant.components.growatt_server.sensor.GrowattData.update (   self)
Update probe data.

Definition at line 198 of file __init__.py.

Member Data Documentation

◆ api

homeassistant.components.growatt_server.sensor.GrowattData.api

Definition at line 189 of file __init__.py.

◆ data

homeassistant.components.growatt_server.sensor.GrowattData.data

Definition at line 192 of file __init__.py.

◆ device_id

homeassistant.components.growatt_server.sensor.GrowattData.device_id

Definition at line 190 of file __init__.py.

◆ growatt_type

homeassistant.components.growatt_server.sensor.GrowattData.growatt_type

Definition at line 188 of file __init__.py.

◆ password

homeassistant.components.growatt_server.sensor.GrowattData.password

Definition at line 195 of file __init__.py.

◆ plant_id

homeassistant.components.growatt_server.sensor.GrowattData.plant_id

Definition at line 191 of file __init__.py.

◆ previous_values

homeassistant.components.growatt_server.sensor.GrowattData.previous_values

Definition at line 193 of file __init__.py.

◆ username

homeassistant.components.growatt_server.sensor.GrowattData.username

Definition at line 194 of file __init__.py.


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