Rename profiles to automations across backend and frontend

Rename the "profiles" entity to "automations" throughout the entire
codebase for clarity. Updates Python models, storage, API routes/schemas,
engine, frontend JS modules, HTML templates, CSS classes, i18n keys
(en/ru/zh), dashboard, tutorials, and command palette.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-28 18:01:39 +03:00
parent da3e53e1f1
commit 21248e2dc9
39 changed files with 1180 additions and 1179 deletions

View File

@@ -20,8 +20,8 @@ class DeviceBrightnessSnapshotSchema(BaseModel):
software_brightness: int = 255
class ProfileSnapshotSchema(BaseModel):
profile_id: str
class AutomationSnapshotSchema(BaseModel):
automation_id: str
enabled: bool = True
@@ -51,7 +51,7 @@ class ScenePresetResponse(BaseModel):
color: str
targets: List[TargetSnapshotSchema]
devices: List[DeviceBrightnessSnapshotSchema]
profiles: List[ProfileSnapshotSchema]
automations: List[AutomationSnapshotSchema]
order: int
created_at: datetime
updated_at: datetime