When an automation is triggered, the resulting trigger
variable contains a property called context
. The value of this property can serve to indicate who triggered the automation. However, it’s not necessarily a definitive indicator (meaning sometimes the trigger’s source can be ambiguous). Here’s a table indicating sources and values. and here’s an example that attempts to determine if the source was a manual operation.
2 Likes