2
0

feat(yeelight): handle yeelights

This commit is contained in:
Pierre CLEMENT
2018-03-21 22:52:10 +01:00
parent 50df65d7fc
commit c5afb43b47
31 changed files with 219 additions and 310 deletions

View File

@@ -32,4 +32,28 @@
<%- include('./Light', {}) %>
<%- include('./GatewayPlaySound', {}) %>
<%- include('./GatewayStopSound', {}) %>
<%- include('./GatewayStopSound', {}) %>
<%# ---------------------------------- turn_on ---------------------------------- %>
<%- include('./Action', {
type: "turn_on",
label: "turn on",
icon: "mi-on",
docTitle: "Turn device on."
}) %>
<%# ---------------------------------- double_click ---------------------------------- %>
<%- include('./Action', {
type: "turn_off",
label: "turn off",
icon: "mi-off",
docTitle: "Turn device off."
}) %>
<%# ---------------------------------- double_click ---------------------------------- %>
<%- include('./Action', {
type: "toggle",
label: "toggle",
icon: "mi-toggle",
docTitle: "Toggle device."
}) %>