Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.sensor.const .SensorStateClass Class Reference
Inheritance diagram for homeassistant.components.sensor.const .SensorStateClass:
[legend]
Collaboration diagram for homeassistant.components.sensor.const .SensorStateClass:
[legend]

Static Public Attributes

 Final
 
string MEASUREMENT = "measurement"
 
string TOTAL = "total"
 
string TOTAL_INCREASING = "total_increasing"
 

Detailed Description

State class for sensors.

Definition at line 477 of file const.py.

Member Data Documentation

◆ Final

homeassistant.components.sensor.const .SensorStateClass.Final
static

Definition at line 494 of file const.py.

◆ MEASUREMENT

string homeassistant.components.sensor.const .SensorStateClass.MEASUREMENT = "measurement"
static

Definition at line 480 of file const.py.

◆ TOTAL

string homeassistant.components.sensor.const .SensorStateClass.TOTAL = "total"
static

Definition at line 483 of file const.py.

◆ TOTAL_INCREASING

string homeassistant.components.sensor.const .SensorStateClass.TOTAL_INCREASING = "total_increasing"
static

Definition at line 488 of file const.py.


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