This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo
newFolder = indigo.devices.folder.create("myPluginFolderName")
indigo.device.moveToFolder(dev1, value=newFolder)
indigo.device.moveToFolder(dev2, value=newFolder)
indigo.device.moveToFolder(dev3, value=newFolder)
indigo.device.moveToFolder(dev4, value=newFolder)
<Device id="ifKit" type="custom" >
<Name>•Phidgets Interface Kit</Name>
>>> print indigo.devices[1267280394]
Traceback (most recent call last):
File "<console>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2022' in position 1788: ordinal not in range(128)
<Device id="ifKit" type="custom" >
<Name>Phidgets Interface Kit</Name>
<Sort>1</Sort>
...
jay (support) wrote:It seems like the better idea is to allow the device types to be sorted by the order they are declared in the XML just like we do events and actions. So we'll make that change in the next release unless someone has a problem with it.
Users browsing this forum: No registered users and 5 guests