add create outlet
This commit is contained in:
@@ -37,6 +37,18 @@
|
||||
./usr/bin/ubus call domo.outlets create "{\"name\":\"test\", \"sender\": 12797322, \"switch\": 4}"
|
||||
```
|
||||
|
||||
#### create failed 1
|
||||
|
||||
Name is missing.
|
||||
|
||||
```
|
||||
./usr/bin/ubus call domo.outlets create "{\"sender\": 12797322, \"switch\": 4}"
|
||||
./usr/bin/ubus call domo.outlets create "{\"name\":\"test\", \"switch\": 4}"
|
||||
./usr/bin/ubus call domo.outlets create "{\"name\":\"test\", \"sender\": 12797322}"
|
||||
```
|
||||
|
||||
|
||||
|
||||
TODO
|
||||
|
||||
### list
|
||||
|
||||
Reference in New Issue
Block a user