Get data from Foobot API.
Definition at line 159 of file sensor.py.
◆ __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.
◆ 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.
◆ _client
| homeassistant.components.foobot.sensor.FoobotData._client |
|
private |
◆ _uuid
| homeassistant.components.foobot.sensor.FoobotData._uuid |
|
private |
◆ data
| homeassistant.components.foobot.sensor.FoobotData.data |
The documentation for this class was generated from the following file:
- core/homeassistant/components/foobot/sensor.py