2
0
Files
node-red-contrib-mi-devices/src/nodes/actions/index.ejs
2018-03-21 22:52:10 +01:00

59 lines
1.7 KiB
Plaintext

<%# ---------------------------------- read ---------------------------------- %>
<%- include('./Action', {
type: "read",
label: "read",
icon: "mi-read",
docTitle: "Ask the gateway to read the report of the input device."
}) %>
<%# ---------------------------------- get_id_list ---------------------------------- %>
<%- include('./Action', {
type: "get_id_list",
label: "get id list",
icon: "mi-list",
docTitle: "Ask the gateway to the list of devices ids."
}) %>
<%# ---------------------------------- click ---------------------------------- %>
<%- include('./Action', {
type: "click",
label: "click",
icon: "mi-click",
docTitle: "Virtual single click for switch."
}) %>
<%# ---------------------------------- double_click ---------------------------------- %>
<%- include('./Action', {
type: "double_click",
label: "double click",
icon: "double-click",
docTitle: "Virtual double click for switch."
}) %>
<%- include('./Light', {}) %>
<%- include('./GatewayPlaySound', {}) %>
<%- 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."
}) %>