Rule Machine: Trying to set "Monday through Friday, if Phone is present, turn on switch"

I'm trying to set a rule based on the following conditions:
1. It is Monday, Tuesday, Wednesday, Thursday, or Friday.
2. If my Wife's phone is present (she works from home random 2 days per week)
3. Turn on the outlet that powers the entertainment system.

I can add the condition of Days of the Week, but when I add the condition that her phone is present, I get the "false" statement.

Any combination of conditions that I have tried still result in a "false" expression. Not sure how to make it true.

Any assistance would be greatly appreciated.

The values in parentheses that Rule Machine displays is the current evaluation of your conditions (e.g., T or F for each condition) and expression (e.g., true or false for the entire expression). This is just to help you check your logic when you're building the rule. Sometimes, it can be distracting to have this much text; you can turn off the "Show current values" option to hide it. This does not affect execution of the rule; the values will be evaluated when the actions are reached during regular execution.

It's not clear to me if you think something is actually wrong with the evaluation. In that case, you'll need to look into the device/attribute that is reporting the wrong value. For example, maybe your wife's presence sensor is reporting the wrong value. That isn't a problem Rule Machine can fix, but you should be able to address it by looking into whatever presence option she is using (or share more information about that here if you are not sure). Keep in mind that RM only updates these values when the page loads, not in real time.

I was just going to delete my post. The same thing happened to me yesterday. I went to the devices and refreshed their statuses and the expressions did update. Now I just need to test them to see if my rule will work. I may have to move the steps around.

Thanks again bertabcd1234!!

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