I really suck at writing rules, but am trying to learn. Here is a rule for when I leave the house to turn the heat down on two heaters, then activate the switch (Thermostat Restriction) to prevent the schedule from running. When I arrive the Thermostat Restriction is turned off and the normal schedule is activated, My question is with regards to the conditions (under Manage Conditions in the bottom of my picture), why are there more conditions then statements and why does it seem like duplicates? This confuses me, could some one offer an explanation?
Your right Carl, I did do some edits. I really agree with you, this is not the cleanest way to do this. It's a struggle! So what your saying is use IF THEN. I.e. IF I am home THEN do these things. END IF... And If I am not home THEN do these other things. END IF. Something like that?
Think of that area as a repository where you can store conditions. While there they don't actually do anything they need to be used in the actions area for them to have any affect on your rule.
When they are defined in this area they are also selectable in your actions. If you keep defining the same action over and over again more instances will keep appearing.
Let's say you use If Temp above 30 in 4 locations of your rule you can go into the manage conditions area and edit the above statement to say 20 and all 4 instances where it is used in your rule will change. This makes it easier to modify your rules should you need to.
Ahhh Thanks Carl, ELSE is what I am missing here, now it makes sense. That looks way cleaner and easy to follow, let me give it a whirl.
Thanks Bob, I see what your saying. It just confuses me that the conditions are the same, i.e. I'm present 4 times condition, but what your saying is EACH statement has a condition that will be listed under Manage Conditions, is that correct? If so, that makes sense to me.
This will happen only if you keep selecting a new instance of that condition every time.
When you define it the first time it will appear in the manage conditions area.
If you want to use the condition again you can select it from the drop down where 'define new condition' is. It should appear there. It saves you having to keep defining it.
This looks pretty good now, and it makes much more sense. I'll run it for a few days and see how it goes. Looks like I may have a few rules to change armed with a little education Thanks
Ok, since I am looking at the right way to do my rules, I just edited another rule to the way you have mentioned above...The goal here is to arm my blink while away, disarm it when I come home, but then arm it again every night at 9:05.
Do I need the second IF statement in my actions to run to arm it at 9:05 or will the Trigger Event check to see if I am home at 9:05 and then if I am, turn on the switch. What do you think?