mirror of
https://github.com/esphome/esphome.git
synced 2025-09-03 20:02:22 +01:00
Add state_class total (#3608)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -956,6 +956,9 @@ STATE_CLASS_MEASUREMENT = "measurement"
|
||||
# The state represents a total that only increases, a decrease is considered a reset.
|
||||
STATE_CLASS_TOTAL_INCREASING = "total_increasing"
|
||||
|
||||
# The state represents a total amount that can both increase and decrease, e.g. a net energy meter.
|
||||
STATE_CLASS_TOTAL = "total"
|
||||
|
||||
KEY_CORE = "core"
|
||||
KEY_TARGET_PLATFORM = "target_platform"
|
||||
KEY_TARGET_FRAMEWORK = "target_framework"
|
||||
|
Reference in New Issue
Block a user