Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.dweet.sensor.DweetData Class Reference

Public Member Functions

def __init__ (self, device)
 
def update (self)
 

Public Attributes

 data
 

Private Attributes

 _device
 

Detailed Description

The class for handling the data retrieval.

Definition at line 110 of file sensor.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.dweet.sensor.DweetData.__init__ (   self,
  device 
)
Initialize the sensor.

Definition at line 113 of file sensor.py.

Member Function Documentation

◆ update()

def homeassistant.components.dweet.sensor.DweetData.update (   self)
Get the latest data from Dweet.io.

Definition at line 118 of file sensor.py.

Member Data Documentation

◆ _device

homeassistant.components.dweet.sensor.DweetData._device
private

Definition at line 115 of file sensor.py.

◆ data

homeassistant.components.dweet.sensor.DweetData.data

Definition at line 116 of file sensor.py.


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