Sorry for the basic question but I have been looking at various code snippets and I see this type of structure
[u][i][b]for k,v in pairs(luup.devices) do
if (v.device_num_parent == 1) and (not v.invisible) then[/b][/i][/u]
What I cannot find in Wiki or this forum is what other attributes are accessible for the v.____
I looked at luup.devices but I could not, for example, find v.description but I have seen this in code
I updated the Wiki page to make the luup.devices members stand out more:
http://wiki.micasaverde.com/index.php/Luup_Lua_extensions#variable:_devices
You can see description near the end of the list.
Excellent thanks…
I see there is a link also [See also: Lua Device Structure.] but this does not work. Not sure if this is still being worked on but wanted to bring your attention to it
Thanks for bringing it into attention, I removed the link and further updated the description of luup.devices.