I don't have any documentaion about the devices. I can tell you that the "devices" are coming from the home automation controller. These devices are both hardware, i.e. thermostats, temp sensors, motion detectors, etc and software, i.e. flags, time, etc.
I added the prefix .Item(Index). to...