mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 02:36:19 +00:00
Fixed automation bugs
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
import { EffectiveTime } from '../dtos';
|
||||
|
||||
export interface AddAutomationInterface {
|
||||
success: boolean;
|
||||
msg?: string;
|
||||
@ -48,3 +50,12 @@ export interface AutomationDetailsResult {
|
||||
name: string;
|
||||
type: string;
|
||||
}
|
||||
|
||||
export interface AddAutomationParams {
|
||||
actions: Action[];
|
||||
conditions: Condition[];
|
||||
automationName: string;
|
||||
effectiveTime: EffectiveTime;
|
||||
decisionExpr: string;
|
||||
spaceTuyaId: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user