AndCondition

Description

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

Fields

Key Type Description
conditions [Condition]

The child conditions.

Required

Examples

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

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