Fixed automation bugs

This commit is contained in:
hannathkadher
2024-11-05 00:48:54 +04:00
parent aad794b2cd
commit a3eaa0fa3c
10 changed files with 227 additions and 151 deletions
@@ -0,0 +1,9 @@
import { TuyaResponseInterface } from './tuya.response.interface';
export interface AddTuyaResponseInterface extends TuyaResponseInterface {
result: {
id: string;
};
t?: number;
tid?: string;
}
@@ -1,2 +1,3 @@
export * from './tuya.response.interface';
export * from './tap-to-run-action.interface';
export * from './automation.interface';
@@ -1,5 +1,5 @@
export interface TuyaResponseInterface {
success: boolean;
msg?: string;
result: boolean;
result: boolean | { id: string };
}