Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.google_wifi.sensor.GoogleWifiAPI Class Reference

Public Member Functions

def __init__ (self, host, conditions)
 
def data_format (self)
 
def update (self)
 

Public Attributes

 available
 
 conditions
 
 data
 
 raw_data
 

Private Attributes

 _request
 

Detailed Description

Get the latest data and update the states.

Definition at line 157 of file sensor.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.google_wifi.sensor.GoogleWifiAPI.__init__ (   self,
  host,
  conditions 
)
Initialize the data object.

Definition at line 160 of file sensor.py.

Member Function Documentation

◆ data_format()

def homeassistant.components.google_wifi.sensor.GoogleWifiAPI.data_format (   self)
Format raw data into easily accessible dict.

Definition at line 192 of file sensor.py.

◆ update()

def homeassistant.components.google_wifi.sensor.GoogleWifiAPI.update (   self)
Get the latest data from the router.

Definition at line 179 of file sensor.py.

Member Data Documentation

◆ _request

homeassistant.components.google_wifi.sensor.GoogleWifiAPI._request
private

Definition at line 164 of file sensor.py.

◆ available

homeassistant.components.google_wifi.sensor.GoogleWifiAPI.available

Definition at line 175 of file sensor.py.

◆ conditions

homeassistant.components.google_wifi.sensor.GoogleWifiAPI.conditions

Definition at line 166 of file sensor.py.

◆ data

homeassistant.components.google_wifi.sensor.GoogleWifiAPI.data

Definition at line 167 of file sensor.py.

◆ raw_data

homeassistant.components.google_wifi.sensor.GoogleWifiAPI.raw_data

Definition at line 165 of file sensor.py.


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