I want to loop through a list of child devices in order. Can anyone point me in the right direction? I tried the following but it did not give me the results I expected.
for i, v in ipairs(luup.devices) do
My code in here
end
-John
I want to loop through a list of child devices in order. Can anyone point me in the right direction? I tried the following but it did not give me the results I expected.
for i, v in ipairs(luup.devices) do
My code in here
end
-John
See this code:
http://code.mios.com/trac/mios_weather/browser/I_GoogleWeather.xml#L65
Note that this is no built-in “ordering” of children, as such. The more recent UI’s tend to order the display alphabetically (by description) but that’s not how they’re stored.
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules