|
@@ -15,6 +15,8 @@
|
|
|
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
|
|
|
<input type="text" id="node-input-name" placeholder="Name">
|
|
|
</div>
|
|
|
+ <div class="form-tips"><span>ramp-thermostat version: 0.3.0</span>
|
|
|
+ </div>
|
|
|
<div class="form-tips"><span>The Hysteresis is used to prevent osciliation. The [+] value is added to the target and the [-] (absolute) value is subtracted from the target. Within this neutral zone no action accurs.</span>
|
|
|
</div>
|
|
|
</script>
|
|
@@ -47,8 +49,8 @@
|
|
|
defaults: {
|
|
|
name: {value:""},
|
|
|
profile: {value:"",type:"profile"},
|
|
|
- hysteresisplus: {value:""},
|
|
|
- hysteresisminus: {value:""}
|
|
|
+ hysteresisplus: {value:0, validate:RED.validators.number()},
|
|
|
+ hysteresisminus: {value:0, validate:RED.validators.number()}
|
|
|
},
|
|
|
inputs:1,
|
|
|
outputs:3,
|