core/homeassistant/components/diagnostics/const.py

19 lines
340 B
Python

"""Constants for the Diagnostics integration."""
from homeassistant.backports.enum import StrEnum
DOMAIN = "diagnostics"
REDACTED = "**REDACTED**"
class DiagnosticsType(StrEnum):
"""Diagnostics types."""
CONFIG_ENTRY = "config_entry"
class DiagnosticsSubType(StrEnum):
"""Diagnostics sub types."""
DEVICE = "device"