I'm rather new to lua, but not too programming.
To loop through heating zones in trying to put their names in an array that I can then iterate over to do something for each of them. Not knowing the syntax I read lua.org to try to learn the language.
So i try something like:
Code: Select all
local names={"kitchen", "bedroom"}
What am I missing?
Is there a better reference for lua as interpreted in domoticz?
Cheers
Fred