2
0

Added magnet

This commit is contained in:
Harald Rietman
2017-07-02 17:21:47 +02:00
parent 15d1a38dce
commit 864d60d2cc
9 changed files with 340 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
<script type="text/javascript">
RED.nodes.registerType('xiaomi-plug', {
category: 'function',
color: '#a6bbcf',
category: 'xiaomi',
color: '#3FADB5',
defaults: {
gateway: {value:"", type:"xiaomi-configurator"},
name: {value: ""},
@@ -13,6 +13,7 @@
inputs: 1,
outputs: 2,
outputLabels: ["Status","Control"],
paletteLabel: "plug (zigbee)",
icon: "outlet-icon.png",
label: function () {
return this.name || "xiaomi-plug";