mirror of
https://github.com/home-assistant/core.git
synced 2026-09-30 02:04:05 +01:00
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
19 lines
465 B
Python
19 lines
465 B
Python
"""Constants for the Elgato Light integration."""
|
|
|
|
from datetime import timedelta
|
|
import logging
|
|
from typing import Final
|
|
|
|
# Integration domain
|
|
DOMAIN: Final = "elgato"
|
|
|
|
LOGGER = logging.getLogger(__package__)
|
|
SCAN_INTERVAL = timedelta(seconds=10)
|
|
|
|
# Elgato publishes firmware a handful of times a year, bundled with a new
|
|
# Control Center release. Asking more often than this buys nothing.
|
|
FIRMWARE_SCAN_INTERVAL = timedelta(hours=12)
|
|
|
|
# Attributes
|
|
ATTR_ON = "on"
|