Added magnet
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user