#Is the logic for multiple "And if" conditions logic AND or OR? see pic
11 messages · Page 1 of 1 (latest)
Is the logic for multiple "And if" conditions logic AND or OR?
Is the logic for multiple "And if" conditions logic AND or OR? see pic
Conditions are 'and' by default unless you explicitly make them 'or'
Review the YAML to be sure
`
condition:
- condition: device
type: is_off
device_id: 77ccdbd44b78adb21e785d930751a005
entity_id: 71492142d63ad16e568b8ebf0041565e
domain: switch - condition: zone
entity_id: device_tracker.my_phone1
zone: zone.home`
Thanks @exotic sluice. I couldn't find a reference to conditions being 'and' by default in the help page directly linked to that automation section. Would be nice if it was doc'd there.