UNPKG

dt-common-device

Version:

A secure and robust device management library for IoT applications

26 lines (25 loc) 854 B
export interface ISchedule { id?: string; name: string; deviceId: string; scheduleId: string | null; state: { targetTemperature?: number; temperatureUnit?: "C" | "F"; mode?: "cool" | "heat" | "fan" | "dry" | "auto"; swing?: "stopped" | "rangeFull" | "fixedTop" | "fixedMiddleTop" | "fixedMiddle" | "fixedMiddleBottom" | "fixedBottom"; fanLevel?: "auto" | "low" | "medium" | "high"; }; startTime: string; endTime: string; recurringDays: ("Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday")[]; createTime?: string; nextTime?: string; nextTimeSecondsFromNow?: number; targetTimeLocal: string; timezone: string; scheduleInheritedFrom: "zone" | "device"; zoneId: string; userId: string; status?: "SET" | "UNSET"; }