Public Member Functions | |
| def | __init__ (self, api) |
| def | async_update (self) |
Public Attributes | |
| api | |
Get the latest data and update the states.
Definition at line 92 of file air_quality.py.
| def homeassistant.components.opensensemap.air_quality.OpenSenseMapData.__init__ | ( | self, | |
| api | |||
| ) |
Initialize the data object.
Definition at line 95 of file air_quality.py.
| def homeassistant.components.opensensemap.air_quality.OpenSenseMapData.async_update | ( | self | ) |
Get the latest data from the Pi-hole.
Definition at line 100 of file air_quality.py.
| homeassistant.components.opensensemap.air_quality.OpenSenseMapData.api |
Definition at line 97 of file air_quality.py.