get_advance_automation
Get detailed configuration of a single advance automation, including schedule, port groups, and human-readable summary, from an AC Infinity controller.
Instructions
Get full detail for a single Advance Automation by ID.
Args: device_id: The AC Infinity device code (from discover_devices). automation_id: The automation_id from list_advance_automations.
Returns:
JSON with automation detail including name, enabled status, schedule
(with mode: "continuous" or "scheduled" per Quirk 21;
begin_time/end_time as "HH:MM" or null; optional
schedule_note when scheduled mode has no time window configured),
port_groups (each entry has device_type listing the actual port names
governed by that group, resolved from the grouptDevType bitmask —
e.g. "Left Fan (Port 5), Right Fan (Port 6)", formatted as
"Name (Port N)" for each bit set; "Unknown" when bitmask is 0),
governed_ports (list of ports this automation controls, decoded from
the automation's port_group bitmasks), port_resolution status
("resolved" or "error"), and
human_summary (adapts to continuous/scheduled/no-window variants).
On failure returns {"error": "..."}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | ||
| automation_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |