mirror of
https://github.com/home-assistant/core.git
synced 2026-07-03 04:36:04 +01:00
71b849cb58
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
27 lines
521 B
Python
27 lines
521 B
Python
"""Constants for the Yoto integration."""
|
|
|
|
from datetime import timedelta
|
|
import logging
|
|
|
|
DOMAIN = "yoto"
|
|
|
|
_LOGGER = logging.getLogger(__package__)
|
|
|
|
YOTO_AUDIENCE = "https://api.yotoplay.com"
|
|
|
|
YOTO_SCOPES = [
|
|
"offline_access",
|
|
"family:view",
|
|
"family:devices:view",
|
|
"family:devices:control",
|
|
"family:devices:manage",
|
|
"family:library:view",
|
|
"user:content:view",
|
|
"user:icons:manage",
|
|
]
|
|
|
|
SCAN_INTERVAL = timedelta(minutes=5)
|
|
STATUS_PUSH_INTERVAL = timedelta(seconds=60)
|
|
|
|
MANUFACTURER = "Yoto"
|