1
0
mirror of https://github.com/home-assistant/core.git synced 2026-06-03 22:24:02 +01:00
Files
core/homeassistant/components/xthings_cloud/const.py
T
2026-05-18 12:45:04 +02:00

21 lines
462 B
Python

"""Constants for Xthings Cloud integration."""
import logging
from homeassistant.const import Platform
DOMAIN = "xthings_cloud"
LOGGER = logging.getLogger(__package__)
CONF_EMAIL = "email"
CONF_PASSWORD = "password"
CONF_TOKEN = "token"
CONF_REFRESH_TOKEN = "refresh_token"
CONF_CLIENT_ID = "client_id"
CONF_INSTANCE_ID = "instance_id"
# Polling interval (seconds)
DEFAULT_SCAN_INTERVAL = 1800
PLATFORMS: list[Platform] = [Platform.LIGHT, Platform.SWITCH]