Tried again. This rule was one I had before that I changed. I am going to create a “new” rule to do this and see if I get the same error. I will attempt to save again for your benefit of seeing the logs.
EDIT. I cancelled out and went back in and it was saved accurately… Not sure what happened.
@Tommy, thanks for reporting the issue. We found the bug and got it fixed (will be included in the next release). This only happens when a rule has a device event, but then replaced with the timer event.
Hi @Jason_Chan, welcome to the community. Trigger conditions can only be OR. But you can add an If_condition as the first activity in the flow and the desired actions in the Then path. See the screenshot below for your scenario. The rule will be triggered whenever there’s a motion, but the first thing it does is to evaluate the time condition (between sunset and sunrise) to determine if it should continue to execute the action(s) defined. The trick here is to add “before sunrise” and “after sunset” conditions and change the If_condition logic from “any” (default) to “all” to get you the “between sunset and sunrise” condition.