2021-05-05 23:41:32 +00:00
|
|
|
"""Constants for the Elgato Light integration."""
|
2022-01-21 18:38:02 +00:00
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
from datetime import timedelta
|
|
|
|
import logging
|
|
|
|
from typing import Final
|
2019-12-08 08:26:31 +00:00
|
|
|
|
|
|
|
# Integration domain
|
2022-01-21 18:38:02 +00:00
|
|
|
DOMAIN: Final = "elgato"
|
|
|
|
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
|
|
SCAN_INTERVAL = timedelta(seconds=10)
|
2019-12-08 08:26:31 +00:00
|
|
|
|
|
|
|
# Attributes
|
|
|
|
ATTR_ON = "on"
|
|
|
|
|
2021-05-03 15:32:10 +00:00
|
|
|
# Services
|
|
|
|
SERVICE_IDENTIFY = "identify"
|