This object is in archive! 

delete variable

DK shared this question 11 years ago
Answered

How to delete a created variable?

Replies (11)

photo
1

i have a same question...

photo
3

Trick: search for a rule by hitting space and then delete it... Vola you can see the variables... Right click and delete

photo
2

Kristian Olofsson wrote:

Trick: search for a rule by hitting space and then delete it... Vola you can see the variables... Right click and delete
ok, thank's it's good.


you have a trick for know actual value of variable ?


and how can initiate a value of variable ?

holydays fo exemple, when i'am in holyday i can put value 1 to variable holidays

photo
2

Not really But i guess you Could assign it to a virtual meter?

I normally create a simple rule, When sensor any then rule = 1...

photo
1

Trick: put space in rule filter and then delete it. You see them and can right click to delete.

photo
1

We will add separate tab for variables, but in the meantime you can pres 'X' on filter under 'My home rules', you will see Variables and Rules. Then you can delete variable with right click.

photo
1

Thank you

photo
1

Hello. the new UI is already here, but the issue continues. Isn't it?

photo
9

To delete a variable:


  1. Go to the API
  2. Scroll down to Rules and expand all the operations.
  3. Expand the 'Get all rules' operation and execute it.
  4. Look in the list for the variable you want to delete (note, this list contains variables and rules).
  5. Remember the id of the variable you want to delete.
  6. Expand the 'Delete a Rule' operation (it is incorrectly named Delete a schedule).
  7. Fill in the variable id and press execute.

Voila..

photo
2

Hi all, I found this very good video:

https://www.youtube.com/watch?v=itLPzvEUF1I

Leave a Comment
 
Attach a file