mirror of
https://github.com/home-assistant/core.git
synced 2025-12-07 16:38:07 +00:00
27 lines
584 B
Python
27 lines
584 B
Python
"""Constants for the onboarding component."""
|
|
|
|
from dataclasses import dataclass
|
|
|
|
|
|
@dataclass(frozen=True, slots=True)
|
|
class DefaultArea:
|
|
"""Default area definition."""
|
|
|
|
key: str
|
|
icon: str
|
|
|
|
|
|
DOMAIN = "onboarding"
|
|
STEP_USER = "user"
|
|
STEP_CORE_CONFIG = "core_config"
|
|
STEP_INTEGRATION = "integration"
|
|
STEP_ANALYTICS = "analytics"
|
|
|
|
STEPS = [STEP_USER, STEP_CORE_CONFIG, STEP_ANALYTICS, STEP_INTEGRATION]
|
|
|
|
DEFAULT_AREAS = (
|
|
DefaultArea(key="living_room", icon="mdi:sofa"),
|
|
DefaultArea(key="kitchen", icon="mdi:stove"),
|
|
DefaultArea(key="bedroom", icon="mdi:bed"),
|
|
)
|