非條件式

說明

用來表示另一個條件的邏輯否定的條件。

欄位

類型 說明
condition 狀況

要否定的條件。

必填

範例

使用條件:如果時間不是在晚上 6 點到 8 點之間。

condition:
  type: not
  condition:
    type: time.between
    after: 6:00 pm
    before: 8:00 pm