set_wake_enabled
Toggle a wake rule's active state by index. Disabled rules are skipped during wake matching but remain in configuration.
Instructions
Enable or disable a specific wake rule (or all rules if index is None).
Use list_wake_rules to see current indices and states. Disabled rules are skipped during wake matching but remain in the configuration. Use remove_wake_rule to permanently delete a rule.
Mutates the wake rule configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| enabled | Yes |