1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-08 09:38:58 +01:00
Files
core/homeassistant/components/uptime_kuma/const.py
T

29 lines
593 B
Python

"""Constants for the Uptime Kuma integration."""
from pythonkuma import MonitorType
DOMAIN = "uptime_kuma"
HAS_CERT = {
MonitorType.HTTP,
MonitorType.KEYWORD,
MonitorType.JSON_QUERY,
}
HAS_URL = HAS_CERT | {MonitorType.REAL_BROWSER}
HAS_PORT = {
MonitorType.PORT,
MonitorType.STEAM,
MonitorType.GAMEDIG,
MonitorType.MQTT,
MonitorType.RADIUS,
MonitorType.SNMP,
MonitorType.SMTP,
}
HAS_HOST = HAS_PORT | {
MonitorType.PING,
MonitorType.TAILSCALE_PING,
MonitorType.DNS,
}
LOCAL_INSTANCE = ("127.0.0.1", "localhost", "a0d7b954-uptime-kuma")