Confused by Conditions

I am trying to make rules based on the Mode setting. I'm using modes instead of HSM because the Mode toggles can be sent to and used in Homekit. I'm trying to make a rule that if Mode is "Away" set off alarms and stuff. I also have a mode for my child so when that mode is on, if she opens a door, there are audible alerts through Sonos but not the sirens going off and lights flashing for an intruder. So, here's the problem: I go to set the mode condition and it will not create the value I want. I saw in another post about using Required Expressions, but the exact same problem occurs.

I set the mode to "Away" and it says "Mode is Away FALSE". So I Check the "NOT this Condition" switch and it goes to "NOT Mode is Away TRUE".

No matter what combination I give, I cannot get it to be a condition where it's looking for the mode is AWAY. I have even tried to go the opposite and tell it to make the condition set when the Mode is NOT Disarmed or Home, but I get the same problem, it only allows me to set the condition as "Disarmed or Home False" or "Not Disarmed or Home is True."

Screenshot 2023-12-05 091620
Screenshot 2023-12-05 091628

I believe the orange and green text of false and true are the current status of your condition. Therefore, I bet you're doing this setup while Mode is not Away.

Okay. I did not know those were reflective of the current state; I tried it and you are correct. So now I just need to figure out how to make it alarm when a contact opens and it's in that state (Away) because it still alarms in any state. Thank you for helping me no lose my mind on that part.

There are two ways of doing this: Required Expression or Conditional Triggers:

Required Expression: Mode equals Away
Trigger: Contact Sensor Opens

or

Trigger: Contact Sensor Opens (only when Mode is Away)

Got it! That current state part was what was killing me. Once you told me that I was able to fix the conditional state and it does what I want it now. Thank you so much!

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.