*embarassed* Vista 20p arming outside of rules, unknown as to why. Can you help?

So, I am using my Vista 20p alarm system as a presence sensor and I have 5 smart locks around my house. I'm using a C5 with the latest update as of today, it's been fine for years othwerwise, I just recently added the rule that I am having trouble with.
Basically, if the alarm is armed to stay or away, Hubitat should do different things at different times when someone enters their code at any door to come into the house. Those things seem to work fine, but it's when someone is home and the alarm is not armed at all where the trouble starts. I couldn't figure it out and I just started pausing rules until it didn't happen anymore and I have found that it is in my "arrival from stay between sunset and sunrise" rule. I think it works during those two times, not been an issue as far as I can tell, but for some reason, when it's outside of those times and the alarm is not set and a door lock is locked for some reason, this rule runs, arming the alarm into stay after a successful code entry. It should do nothing in this configuration, this causes things that I don't want to happen to start happening throughout the house. I've looked it over and it says the times and settings are false which in my head says "dont run this rule". I'm not a software guy at all, so imma little lost, what do you think?
Im posting two screen shots and on my dashboard, the third column vertically are all my alarm controls and if none of them are one, someone is home, so unlocking a door via the code shouldn't start an arming sequence. the other screenshot is the rule I use for sunset arrival when the alarm is in stay.

dashboard

rule


It also says the conditions are (unused) in red even.

2 Likes

As @Slate alluded to, the conditions that you have in the Manage Conditions section are not doing what you think they are doing. You need to check “Use Required Expression” at the top and put the conditions you currently have in Manage Conditions as the Required Expression.

The Manage Conditions section is simply a “preconfiguring” of conditions for you to more easily use them in the Actions section - they do nothing in your rule unless you later add them in the Actions section. I think it’s a bit confusing the way they have them located there, as this issue confirms…

3 Likes

Yah, much better explanation.

2 Likes

So, after making the suggested changes, nothing has changed in functionality. I do have a red phrase in my rule title that says (required expression false). out side of the rules, both expressions were indeed false but it still armed the alarm and now that im inside the time of the rule, one is true and the other is false but it still arms the alarm on a valid code entry.Required expression false

Are you 100% sure it is that rule that is arming it, and not some other rule? If so, have you looked at the event history of the zooz alarm stay relay to make sure it stays on and does not toggle to allow the rule to run?