What this operation supports in SmartThings
Returns the automation rules configured for a location, SmartThings' built-in if-this-then-that style automations.
Implementation details
Rules are SmartThings' own automation logic, distinct from any external automation platform, defining conditions and actions that run directly within the SmartThings platform.
Operational considerations
Automations that want to avoid conflicting logic with SmartThings' own native rules should check existing rules first, since both the native rules and an external automation could otherwise act on the same devices independently.
Use cases
SmartThings rule inventory for audit and backup tasks.
- List all active rules for a location to prepare a backup export.
- Filter rules by status to trigger maintenance workflows.
- Display rules in a UI dashboard for operators.
- Cross-check rule names against a naming convention in SmartThings.
