Add new total/total_increasing state-classes for Home Assistant 2021.9+ (#90)
This commit is contained in:
parent
af25a63808
commit
fff495d607
|
@ -448,6 +448,7 @@ message LightCommandRequest {
|
|||
enum SensorStateClass {
|
||||
STATE_CLASS_NONE = 0;
|
||||
STATE_CLASS_MEASUREMENT = 1;
|
||||
STATE_CLASS_TOTAL_INCREASING = 2;
|
||||
}
|
||||
|
||||
enum SensorLastResetType {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -285,6 +285,7 @@ class LightState(EntityState):
|
|||
class SensorStateClass(APIIntEnum):
|
||||
NONE = 0
|
||||
MEASUREMENT = 1
|
||||
TOTAL_INCREASING = 2
|
||||
|
||||
|
||||
class LastResetType(APIIntEnum):
|
||||
|
|
Loading…
Reference in New Issue