Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.netdata.sensor.NetdataData Class Reference

Public Member Functions

def __init__ (self, api)
 
def async_update (self)
 

Public Attributes

 api
 
 available
 

Detailed Description

The class for handling the data retrieval.

Definition at line 219 of file sensor.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.netdata.sensor.NetdataData.__init__ (   self,
  api 
)
Initialize the data object.

Definition at line 222 of file sensor.py.

Member Function Documentation

◆ async_update()

def homeassistant.components.netdata.sensor.NetdataData.async_update (   self)
Get the latest data from the Netdata REST API.

Definition at line 227 of file sensor.py.

Member Data Documentation

◆ api

homeassistant.components.netdata.sensor.NetdataData.api

Definition at line 224 of file sensor.py.

◆ available

homeassistant.components.netdata.sensor.NetdataData.available

Definition at line 225 of file sensor.py.


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