Question regarding Automation

With reference to this example, I have a question. https://www.home-assistant.io/docs/automation/examples/

There are 2 lines of trigger and 2 lines of conditions in this example. Are the 2 lines of trigger an ‘OR’ configuration or ‘AND’ configuration? For example if the 2 lines of trigger are 1A and 1B and the 2 conditions are 2A and 2B, when 1A is triggered, does 2A ‘OR’ 2B have to be true for the automation to run or 2A ‘AND’ 2B has to be true?

by default triggers are always “or” and conditions are always “and” unless otherwise specified in the code.

1 Like

Perfect! Thank you very much!

1 Like