Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the Diagnostics integration."""
2 
3 from enum import StrEnum
4 
5 DOMAIN = "diagnostics"
6 
7 REDACTED = "**REDACTED**"
8 
9 
10 class DiagnosticsType(StrEnum):
11  """Diagnostics types."""
12 
13  CONFIG_ENTRY = "config_entry"
14 
15 
16 class DiagnosticsSubType(StrEnum):
17  """Diagnostics sub types."""
18 
19  DEVICE = "device"