Automation rule actions need a preview text

master
M66B 7 months ago
parent 994fe786a5
commit e41f9e8157

@ -184,7 +184,7 @@ public class EntityRule {
try { try {
JSONObject jaction = new JSONObject(rule.action); JSONObject jaction = new JSONObject(rule.action);
int type = jaction.getInt("type"); int type = jaction.getInt("type");
if (type == TYPE_SUMMARIZE) if (type == TYPE_SUMMARIZE || type == TYPE_AUTOMATION)
return true; return true;
JSONObject jcondition = new JSONObject(rule.condition); JSONObject jcondition = new JSONObject(rule.condition);

Loading…
Cancel
Save