32 lines
920 B
HTML
32 lines
920 B
HTML
|
<script type="text/javascript">
|
||
|
RED.nodes.registerType('c-thermostat-analyzer',{
|
||
|
category: 'Combined RN',
|
||
|
color: '#F3B567',
|
||
|
paletteLabel: 'Th-analyzer',
|
||
|
defaults: {
|
||
|
name: {value:""},
|
||
|
room: {value:"", required:true},
|
||
|
zone: {value:"", required:true}
|
||
|
},
|
||
|
inputs: 1,
|
||
|
outputs: 3,
|
||
|
outputLabels: ["heater","stats"],
|
||
|
icon: "font-awesome/fa-snowflake-o",
|
||
|
label: function() {
|
||
|
return this.name||"Th-analyzer";
|
||
|
}
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
<script type="text/html" data-template-name="c-thermostat-analyzer">
|
||
|
<div class="form-row">
|
||
|
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
||
|
<input type="text" id="node-input-name" placeholder="Name">
|
||
|
</div>
|
||
|
</script>
|
||
|
|
||
|
<script type="text/html" data-help-name="c-thermostat-analyzer">
|
||
|
<p>c-thermostat/p>
|
||
|
</script>
|
||
|
|