-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
Description
After we merge #220 the last bad user experience is 👇🏼
client.app.send(
{ command: "off" },
{},
"smartylighting/streetlights/1/0/action/12/turn/on"
);
we should generate
function turnOn(message){
app.send(
message,
{},
"smartylighting/streetlights/1/0/action/12/turn/on"
);
}
so later user can just do:
turnOn({ command: "off" })