Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.influxdb.sensor.InfluxQLSensorData Class Reference

Public Member Functions

def __init__ (self, influx, db_name, group, field, measurement, where)
 
def update (self)
 

Public Attributes

 db_name
 
 field
 
 group
 
 influx
 
 measurement
 
 query
 
 value
 
 where
 

Detailed Description

Class for handling the data retrieval with v1 API.

Definition at line 309 of file sensor.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.influxdb.sensor.InfluxQLSensorData.__init__ (   self,
  influx,
  db_name,
  group,
  field,
  measurement,
  where 
)
Initialize the data object.

Definition at line 312 of file sensor.py.

Member Function Documentation

◆ update()

def homeassistant.components.influxdb.sensor.InfluxQLSensorData.update (   self)
Get the latest data with a shell command.

Definition at line 324 of file sensor.py.

Member Data Documentation

◆ db_name

homeassistant.components.influxdb.sensor.InfluxQLSensorData.db_name

Definition at line 315 of file sensor.py.

◆ field

homeassistant.components.influxdb.sensor.InfluxQLSensorData.field

Definition at line 317 of file sensor.py.

◆ group

homeassistant.components.influxdb.sensor.InfluxQLSensorData.group

Definition at line 316 of file sensor.py.

◆ influx

homeassistant.components.influxdb.sensor.InfluxQLSensorData.influx

Definition at line 314 of file sensor.py.

◆ measurement

homeassistant.components.influxdb.sensor.InfluxQLSensorData.measurement

Definition at line 318 of file sensor.py.

◆ query

homeassistant.components.influxdb.sensor.InfluxQLSensorData.query

Definition at line 321 of file sensor.py.

◆ value

homeassistant.components.influxdb.sensor.InfluxQLSensorData.value

Definition at line 320 of file sensor.py.

◆ where

homeassistant.components.influxdb.sensor.InfluxQLSensorData.where

Definition at line 319 of file sensor.py.


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