mirror of
https://github.com/bemble/node-red-contrib-mi-devices.git
synced 2026-03-15 07:35:42 +01:00
License info
This commit is contained in:
@@ -26,14 +26,14 @@
|
||||
var row = $('<div/>').appendTo(container);
|
||||
|
||||
$('<label/>',{for:"node-config-input-sid-"+i, style:"margin-left: 3px; width: 15px;vertical-align:middle"}).appendTo(row);
|
||||
var sid = $('<input/>',{id:"node-config-input-sid-"+i,type:"text", style:"width:auto;vertical-align:top"}).appendTo(row);
|
||||
var sid = $('<input/>',{id:"node-config-input-sid-"+i,type:"text", placeholder:"SID", style:"width:auto;vertical-align:top"}).appendTo(row);
|
||||
sid.typedInput({
|
||||
default: 'sensor_ht',
|
||||
types: [tw_sensor_ht, tw_magnet, tw_motion, tw_plug, tw_switch]
|
||||
});
|
||||
|
||||
$('<label/>',{for:"node-config-input-desc-"+i, style:"margin-left: 7px; width: 20px;vertical-align:middle"}).html('<i class="fa fa-pencil-square-o"></i>').appendTo(row);
|
||||
var desc = $('<input/>',{id:"node-config-input-desc-"+i, type:"text", style:"width:auto;vertical-align:top"}).appendTo(row);
|
||||
var desc = $('<input/>',{id:"node-config-input-desc-"+i, type:"text", placeholder:"description", style:"width:auto;vertical-align:top"}).appendTo(row);
|
||||
|
||||
sid.typedInput('value', device.sid);
|
||||
sid.typedInput('type', device.model);
|
||||
@@ -82,7 +82,7 @@
|
||||
<input type="text" id="node-config-input-name" placeholder="Name">
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label for="node-config-input-key"><i class="fa fa-ticket"></i> Key</label>
|
||||
<label for="node-config-input-key"><i class="fa fa-ticket"></i> Key/Password</label>
|
||||
<input type="text" id="node-config-input-key" placeholder="Key">
|
||||
</div>
|
||||
<div class="form-row node-config-input-devices">
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
{
|
||||
"name": "node-red-contrib-xiaomi-devices",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"description": "A set of nodes to control some of the popular Xiaomi sensors which are connected to the Xiaomi Gateway.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+ssh://git@github.com:hrietman/node-red-contrib-xiaomi-devices.git"
|
||||
},
|
||||
"license" : "MIT",
|
||||
"keywords": ["Xiaomi"],
|
||||
"node-red" : {
|
||||
"nodes": {
|
||||
|
||||
Reference in New Issue
Block a user