Skip to main content
Category: Controls · Manages: automation rules · Reads data: yes (the rule list)

Mental model

A Rule Manager is an automation panel. It lists the if / then rules on your device(s) and lets users add, edit, enable, and run them — automation that reacts to conditions.

When to use it

  • Let users build conditional automation without leaving the dashboard
  • Surface and manage a device’s rules in the UI

Settings

General

  • Widget Title / ID
  • Max rules to display

Style

  • Show description / status — which columns show
  • Show action buttons — edit/run controls
  • List layout · item spacing / background
  • Button color, text color, border, font
Rules managed here are the same ones users build in the app’s Rules tab (if → then → else). For time-based automation, use the Schedule Manager.

Script API example

The same interactions from a dashboard script:
// Only admins see the rule manager
if (context.user?.role !== 'admin') widget.hide('ruleManager');

Rules (app)

The if/then/else model in full.

Schedule Manager

Time-based automation.