Add system entity category

This commit is contained in:
Oxan van Leeuwen 2021-11-18 22:38:59 +01:00
parent f68fc025a8
commit 63a8fbbf5d
3 changed files with 41 additions and 33 deletions

View File

@ -210,6 +210,7 @@ enum EntityCategory {
ENTITY_CATEGORY_NONE = 0;
ENTITY_CATEGORY_CONFIG = 1;
ENTITY_CATEGORY_DIAGNOSTIC = 2;
ENTITY_CATEGORY_SYSTEM = 3;
}
// ==================== BINARY SENSOR ====================

File diff suppressed because one or more lines are too long

View File

@ -111,6 +111,7 @@ class EntityCategory(APIIntEnum):
NONE = 0
CONFIG = 1
DIAGNOSTIC = 2
SYSTEM = 3
@dataclass(frozen=True)