跳转至

Environment Sensor

文档版本:1.21.0.24

Creates a trigger based on environment conditions.

架构

environment_sensor:
{
  trigger "triggers"
}
triggerstrigger
The list of triggers that fire when the environment conditions match the given filter criteria.
trigger:
string
trigger:
{
  string "event" : opt
  filters "filters"
  subject "target"
}
eventstring
The event to run when the conditions for this trigger are met.
filtersfilters
一个过滤器组。The list of conditions for this trigger to execute.
targetsubject
The target of the event.
subject:
string
trigger:
array
{
  object "<any array element>" : opt
  {
    string "event" : opt
    filters "filters"
    subject "target"
  }
}
<any array element>object
<any array element>