1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00

Use automation state for devices used by api

This commit is contained in:
Vishal Banthia 2016-11-23 06:45:36 +05:30
parent 42b55889ae
commit a62a6094e4
11 changed files with 45 additions and 10 deletions

View file

@ -148,6 +148,7 @@ function addUserDevice(req, res) {
.handler()
req.options.channelRouter.on(wireutil.global, messageListener)
var usage = 'automation'
req.options.push.send([
device.channel
@ -165,6 +166,7 @@ function addUserDevice(req, res) {
, match: 'exact'
}
})
, usage
)
)
])