feat: Refactor automation and site document screens, add device management features, and implement Home Assistant API integration

This commit is contained in:
2026-01-30 12:06:25 +01:00
parent 44d021891f
commit 9bb8279631
7 changed files with 543 additions and 127 deletions

View File

@ -35,15 +35,6 @@ export interface DocumentItem {
updated_at: string;
}
export interface OfficeItem {
id: number;
name: string;
status: 'online' | 'offline';
temp: number;
lights: boolean;
power: number;
}
export interface TimeOffRequestType {
id: number;
name: string;
@ -72,4 +63,18 @@ export interface ConstructionSite {
name: string;
code: string;
attachments_count: number;
}
}
export interface HaArea {
id: string;
name: string;
floor_id: string | null;
floor_name: string | null;
device_count?: number;
}
export interface HaEntity {
entity_id: string;
name: string;
state: string;
}