forked from pfiaux/node-red-contrib-neeo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactive-now.html
32 lines (30 loc) · 961 Bytes
/
active-now.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<script type="text/javascript">
RED.nodes.registerType('active-now',{
category: 'NEEO Brain',
color: '#C0C0C0',
defaults: {
name: { value: "" },
brain: { value: "", type: "neeo-brain", required: true },
},
inputs:1,
outputs:1,
icon: "bridge.png",
label: function() {
return this.name || "activeNow recipes";
}
});
</script>
<script type="text/x-red" data-template-name="active-now">
<div class="form-row">
<label for="node-input-brain"><i class="fa fa-globe"></i> NEEO Brain</label>
<input type="text" id="node-input-brain">
</div>
<div class="form-row">
<label for="node-input-name"><i class="icon-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script>
<script type="text/x-red" data-help-name="active-now">
<p>Fetches the currently active recipes on a NEEO Brain by ID.</p>
<p>Currently doesn't use any inputs.</p>
</script>