state class TOTAL added (#229)
This commit is contained in:
parent
5831eb5f2a
commit
7dc2a0d072
|
@ -462,6 +462,7 @@ enum SensorStateClass {
|
|||
STATE_CLASS_NONE = 0;
|
||||
STATE_CLASS_MEASUREMENT = 1;
|
||||
STATE_CLASS_TOTAL_INCREASING = 2;
|
||||
STATE_CLASS_TOTAL = 3;
|
||||
}
|
||||
|
||||
enum SensorLastResetType {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -343,6 +343,7 @@ class SensorStateClass(APIIntEnum):
|
|||
NONE = 0
|
||||
MEASUREMENT = 1
|
||||
TOTAL_INCREASING = 2
|
||||
TOTAL = 3
|
||||
|
||||
|
||||
class LastResetType(APIIntEnum):
|
||||
|
|
Loading…
Reference in New Issue