Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the TP-Link Omada integration."""
2 
3 from enum import StrEnum
4 
5 DOMAIN = "tplink_omada"
6 
7 
8 class OmadaDeviceStatus(StrEnum):
9  """Possible composite status values for Omada devices."""
10 
11  DISCONNECTED = "disconnected"
12  CONNECTED = "connected"
13  PENDING = "pending"
14  HEARTBEAT_MISSED = "heartbeat_missed"
15  ISOLATED = "isolated"
16  ADOPT_FAILED = "adopt_failed"
17  MANAGED_EXTERNALLY = "managed_externally"