OrCondition

Description

A compound condition to represent logical OR of all the child conditions.

Fields

Key Type Description
conditions [Condition]

The child conditions.

Required

Examples

Use a condition: if TV is on OR the time is after 6 pm.

condition:
  type: or
  conditions:
  - type: device.state.OnOff
    device: TV - Living Room
    state: on
    is: true
  - type: time.between
    after: 6:00 pm