ChainsAutomation / chains

Chains Automation
GNU General Public License v2.0
7 stars 4 forks source link

Chains-admin should look up device id from device name wherever possible #9

Open stianstr opened 9 years ago

stianstr commented 9 years ago

This is possible today:

chains-admin device start tellstick

But this is not:

chains-admin device action tellstick list

One must use the device's uuid:

chains-admin device action 44323143ff2c49649dc38586b4d5004f list


On start/stop orchestrator will attempt to look up device id from name, and if it finds an unique match it will use it. For convenience, similar functionality should be added to all commands in chains-admin that uses device identifiers.