It’ s ther a way to hide a variable after create it on attributes?
So that is not visible in the pimatic-variables?
-
Hide variable?
-
@Zacca said in Hide variable?:
It’ s ther a way to hide a variable after create it on attributes?
No, as far as I can tell.
If your question is related to developing a plugin there are ways of getting around this. In case, please briefly describe what you’re trying to achieve.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Yes, i have write the plugin cromotherm.
I have to write objects in the chronotherm.coffee then import to template.coffee
to make the template.
For now i have create a variable then imported it but i need more objects.
And is not so beautifull to see in pimatic all that variables
Thanks -
Any solution ?
-
@mwittig any solution?
-
@mwittig the simple way, i supposta, is to create an object in the plugin.coffee than import it in the plugin_template.coffee. but how to?
-
I am still not sure what your requirements are. Maybe someone else can explain
Note beyond, variables shown for device attributes cannot be hidden from the list of variables if that is what you’re looking for,
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@mwittig
Sorry for my English and my tablet that corrects me English words with those in Italian.
In my plugin i have 3 files.
ChronoTherm.coffee that creates the device,
cttemplate.coffee that creates the template and
ct.html that creates the html.
How can I do to create an object in ChronoTherm.coffee and import it into cttemplate.coffee ?