This object is in archive! 

Rules Editor : Deleting a rule while editing more than one

Sebastien AUCOUTURIER shared this problem 9 years ago
Solved

i got in my workbench rule1 and rule2 in edit mode,

i decide to delete rule1 using delete in myhome rules windows

doing this we have rule2 that dissapear , and we have only rule1 in the list,

in fact rule2 was rename rule1,

but not in workbench, as it still apear with name rule2 and this make us confusing. ;-)

Best Answer
photo

Naming of rules is changed. Each new rule gets it's number, and default name (in a form of time of creation) which can be changed. For changing the name of the rule, right click on the rule and select "Rename".

Replies (5)

photo
2

Did you synchronize rules?

photo
2

You can change the name of the rule, it will be easier to understand than. If you add "your name" to the first rule. The name of the first rule will be "Rule 1 - your name". If you add "second name" to the second rule, the name of the second rule will be "Rule 2- second name". If you than delete the first rule, you will have only one rule and the name of this rule will be "Rule 1 - second name".


"Rule1" and "Rule2" are just the numbers of the current rules. This is very important as rules are sorted according to their priority. If you noticed, you can drag and drop the rules to reorder them. If you for example, drag second rule and drop it above first rule on the list, it's name will be "Rule 1 - second name" and the second one will be "Rule 2 - first name". Priority of the rules is very important for the functionality, as some rules should be more important or should be executed before others when your script becomes more complicated.


This functionality allows you to create complex programing script which runs your home.

photo
1

Thanks sebastian, this is clear for me now, and thanks to answer to the question, before i do, on rule priority ;-)

photo
1

Sebastian,

does rule priority is higher than climate widget?

i ask because :

as climate does not make what i need, i made a rule, because of the bug ,i can't delete the climate sensor, and my rule does not run.

photo
1

Naming of rules is changed. Each new rule gets it's number, and default name (in a form of time of creation) which can be changed. For changing the name of the rule, right click on the rule and select "Rename".

Leave a Comment
 
Attach a file