-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhomekit-characteristics-subscribe.html
More file actions
38 lines (36 loc) · 1.13 KB
/
homekit-characteristics-subscribe.html
File metadata and controls
38 lines (36 loc) · 1.13 KB
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
33
34
35
36
37
38
<script type="text/javascript">
RED.nodes.registerType('homekit-characteristics-subscribe', {
category: 'HomeKit',
color: '#a6bbcf',
defaults: {
name: { value: "" },
subscribeData: { value: "", },
},
paletteLabel: "Subscribe",
inputs: 1,
outputs: 1,
outputLabels: ["stdout", "err"],
label: function () {
return this.name || "Subscribe";
},
oneditprepare: function () {
$("#node-input-").typedInput({
type: "json",
types: ["json"]
})
}
});
</script>
<script type="text/html" data-help-name="homekit-characteristics-subscribe">
<p>HomeKit Subscribe node that subscribes to a homekit characteristics</p>
</script>
<script type="text/html" data-template-name="homekit-characteristics-subscribe">
<div class="form-row">
<label for="node-input-pairingData"><i class="fa fa-tag"></i> Pairing Data DB</label>
<input id="node-input-pairingData">
</div>
<div class="form-row">
<label for="node-input-subscribeData"><i class="fa fa-tag"></i> Subscribe data:</label>
<input type="text" id="node-input-subscribeData">
</div>
</script>