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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user