Question
If I have multiple things using the same template how do I differentiate them in the template?
Here is my config.lua:
scripts.TestThing = {
file = "thing.lua",
template = "display"
}
scripts.TestThing_Interface_0 = {
file = "thing.lua",
template = "interface"
}
scripts.TestThing_Interface_1 = {
file = "thing.lua",
template = "interface"
}
In the template when I am getting the properties how do I differentiate which interface I am getting properties for?
