From 07c90575ac44d1b689216c75141ec0b1f813b6bd Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Wed, 24 Nov 2021 10:46:53 +0100 Subject: [PATCH] Add comments to entity category constants (#60276) --- homeassistant/const.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homeassistant/const.py b/homeassistant/const.py index dd8bbc5e555..45a88e2fe43 100644 --- a/homeassistant/const.py +++ b/homeassistant/const.py @@ -701,8 +701,11 @@ PRECISION_TENTHS: Final = 0.1 # cloud, alexa, or google_home components CLOUD_NEVER_EXPOSED_ENTITIES: Final[list[str]] = ["group.all_locks"] +# Config: An entity which allows changing the configuration of a device ENTITY_CATEGORY_CONFIG: Final = "config" +# Diagnostic: An entity exposing some configuration parameter or diagnostics of a device ENTITY_CATEGORY_DIAGNOSTIC: Final = "diagnostic" +# System: An entity which is not useful for the user to interact with ENTITY_CATEGORY_SYSTEM: Final = "system" # Entity categories which will: