UI5 and luup.devices[].device_type

Hi,

Not sure why the following isn’t working (get an error):

test = luup.devices[102].device_type
luup.log("Test = " .. test)

Error I get referring to the initial line (Yes, I’ve made sure device 102 is a real device - 'tis a light switch actually):

LuaInterface::StartEngine failed run: 0 [string "test = luup.devices[102].device_type..."]:1: attempt to index field '?' (a nil value)

Am running 1.5.233

Hi sjolshagen,

Please see the answer here: http://forum.micasaverde.com/index.php/topic,8661

Great!

Will there be a build I can upgrade to at some point in the not too distant future so my - heavily dependent on luup - scenes will start working properly again?

This being a critical fix, I expect a new build this week.