#Or and conditions in automation

1 messages · Page 1 of 1 (latest)

mighty forum
#
condition: and
conditions:
  - condition: template
    value_template: "{{ is_state('input_boolean.pickup_laundry', 'on') }}"
  - condition: trigger
    id:
      - laundry-picked-ios
      - Washing machine door opened

ARe these trigger ids behaves like or ?

white vine
#

Well, there's no way it can be 'and'

#

There's exactly one trigger

mighty forum
#

@white vine I menat if trigger id laundry-picked-ios is executed, and the first condition is met, is it going to pass this condition?

#

and second option is vice versa, first condition is met and second trigger is triggered washing machine door opened

civic sorrel
#

He meant for any execution of an automation, it can only be triggered by exactly one trigger.

mighty forum
#

Oh I see

#

Yeah sure, it never be at the same time, I mean it is impossible to have same conditions from id trigger

#

either is one or another right