mirror of
https://github.com/home-assistant/core.git
synced 2026-08-06 13:26:29 +01:00
714431e7c1
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Robert Resch <robert@resch.dev>
22 lines
415 B
Python
22 lines
415 B
Python
"""Constants for Xthings Cloud integration."""
|
|
|
|
import logging
|
|
|
|
from homeassistant.const import Platform
|
|
|
|
DOMAIN = "xthings_cloud"
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
CONF_REFRESH_TOKEN = "refresh_token"
|
|
CONF_INSTANCE_ID = "instance_id"
|
|
|
|
# Polling interval (seconds)
|
|
DEFAULT_SCAN_INTERVAL = 1800
|
|
|
|
PLATFORMS: list[Platform] = [
|
|
Platform.CAMERA,
|
|
Platform.LIGHT,
|
|
Platform.LOCK,
|
|
Platform.SWITCH,
|
|
]
|