mirror of
https://github.com/home-assistant/core.git
synced 2026-08-28 18:24:50 -05:00
27 lines
520 B
Python
27 lines
520 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"
|