feat: Refactor automation and site document screens, add device management features, and implement Home Assistant API integration
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user