condition:
condition: or # 'when dark' condition: either after sunset or before sunrise
conditions:
- condition: sun
after: sunset
- condition: sun
before: sunrise
You can’t do OR with the automation editor, you’ll have to do it manually.
condition:
condition: or # 'when dark' condition: either after sunset or before sunrise
conditions:
- condition: sun
after: sunset
- condition: sun
before: sunrise
Also the automation editor cannot yet handle OR and AND condition blocks…
I’m wondering why we can’t use the Condition type “Sun” in the UI automation creator? If I create the condition with the UI Editor, it doesnt work correctly. I don’t understand why it is not fixed, yet??