Automation rule actions need a preview text

master
M66B 5 months ago
parent 994fe786a5
commit e41f9e8157

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

Loading…
Cancel
Save