Handle delay templates properly + error handling tweaks (#8578)

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Philip Allgaier
2021-03-07 23:15:53 +01:00
committed by GitHub
parent c8ea37eec0
commit f24f21ca91
7 changed files with 83 additions and 42 deletions

View File

@@ -55,7 +55,7 @@ export interface DelayActionParts {
days?: number;
}
export interface DelayAction {
delay: number | Partial<DelayActionParts>;
delay: number | Partial<DelayActionParts> | string;
}
export interface SceneAction {