state class TOTAL added (#229)

This commit is contained in:
Peter Galantha 2022-07-06 16:41:22 -07:00 committed by GitHub
parent 5831eb5f2a
commit 7dc2a0d072
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 30 deletions

View File

@ -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

View File

@ -343,6 +343,7 @@ class SensorStateClass(APIIntEnum):
NONE = 0
MEASUREMENT = 1
TOTAL_INCREASING = 2
TOTAL = 3
class LastResetType(APIIntEnum):