Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.foobot.sensor.FoobotData Class Reference

Public Member Functions

None __init__ (self, FoobotClient client, str uuid)
 
bool async_update (self)
 

Public Attributes

 data
 

Private Attributes

 _client
 
 _uuid
 

Detailed Description

Get data from Foobot API.

Definition at line 159 of file sensor.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.foobot.sensor.FoobotData.__init__ (   self,
FoobotClient  client,
str  uuid 
)
Initialize the data object.

Definition at line 162 of file sensor.py.

Member Function Documentation

◆ async_update()

bool homeassistant.components.foobot.sensor.FoobotData.async_update (   self)
Get the data from Foobot API.

Definition at line 169 of file sensor.py.

Member Data Documentation

◆ _client

homeassistant.components.foobot.sensor.FoobotData._client
private

Definition at line 164 of file sensor.py.

◆ _uuid

homeassistant.components.foobot.sensor.FoobotData._uuid
private

Definition at line 165 of file sensor.py.

◆ data

homeassistant.components.foobot.sensor.FoobotData.data

Definition at line 185 of file sensor.py.


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