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

Public Member Functions

def __init__ (self, influx, bucket, range_start, range_stop, query, imports, group)
 
def update (self)
 

Public Attributes

 bucket
 
 full_query
 
 group
 
 imports
 
 influx
 
 query
 
 query_postfix
 
 query_prefix
 
 range_start
 
 range_stop
 
 value
 

Detailed Description

Class for handling the data retrieval from Influx with Flux query.

Definition at line 251 of file sensor.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.influxdb.sensor.InfluxFluxSensorData.__init__ (   self,
  influx,
  bucket,
  range_start,
  range_stop,
  query,
  imports,
  group 
)
Initialize the data object.

Definition at line 254 of file sensor.py.

Member Function Documentation

◆ update()

def homeassistant.components.influxdb.sensor.InfluxFluxSensorData.update (   self)
Get the latest data by querying influx.

Definition at line 280 of file sensor.py.

Member Data Documentation

◆ bucket

homeassistant.components.influxdb.sensor.InfluxFluxSensorData.bucket

Definition at line 257 of file sensor.py.

◆ full_query

homeassistant.components.influxdb.sensor.InfluxFluxSensorData.full_query

Definition at line 264 of file sensor.py.

◆ group

homeassistant.components.influxdb.sensor.InfluxFluxSensorData.group

Definition at line 262 of file sensor.py.

◆ imports

homeassistant.components.influxdb.sensor.InfluxFluxSensorData.imports

Definition at line 261 of file sensor.py.

◆ influx

homeassistant.components.influxdb.sensor.InfluxFluxSensorData.influx

Definition at line 256 of file sensor.py.

◆ query

homeassistant.components.influxdb.sensor.InfluxFluxSensorData.query

Definition at line 260 of file sensor.py.

◆ query_postfix

homeassistant.components.influxdb.sensor.InfluxFluxSensorData.query_postfix

Definition at line 275 of file sensor.py.

◆ query_prefix

homeassistant.components.influxdb.sensor.InfluxFluxSensorData.query_prefix

Definition at line 266 of file sensor.py.

◆ range_start

homeassistant.components.influxdb.sensor.InfluxFluxSensorData.range_start

Definition at line 258 of file sensor.py.

◆ range_stop

homeassistant.components.influxdb.sensor.InfluxFluxSensorData.range_stop

Definition at line 259 of file sensor.py.

◆ value

homeassistant.components.influxdb.sensor.InfluxFluxSensorData.value

Definition at line 263 of file sensor.py.


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