mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-24 22:27:55 +00:00
Add RULE_TRIGGER to ActionExecutorEnum and introduce ActionTypeEnum
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
export enum ActionExecutorEnum {
|
||||
DEVICE_ISSUE = 'device_issue',
|
||||
DELAY = 'delay',
|
||||
RULE_TRIGGER = 'rule_trigger',
|
||||
}
|
||||
|
||||
export enum EntityTypeEnum {
|
||||
@@ -18,3 +19,8 @@ export const AUTOMATION_CONFIG = {
|
||||
};
|
||||
export const AUTOMATION_TYPE = 'automation';
|
||||
export const AUTO_PREFIX = 'Auto_';
|
||||
|
||||
export enum ActionTypeEnum {
|
||||
SCENE = 'scene',
|
||||
AUTOMATION = 'automation',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user