node-red-contrib-homekit-bridged 1.7.0-dev.4 → 1.7.0-dev.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -203,13 +203,14 @@
203
203
  <div class="form-row">
204
204
  <label for="node-input-adaptiveLightingOptionsMode"><i class="fa fa-hand-o-up"></i> Mode</label>
205
205
  <select id="node-input-adaptiveLightingOptionsMode">
206
- <option value="1" selected="selected">AUTOMATIC</option>
206
+ <option value="" selected hidden disabled>AUTOMATIC</option>
207
+ <option value="1">AUTOMATIC</option>
207
208
  <option value="2" disabled>MANUAL</option>
208
209
  </select>
209
210
  </div>
210
211
  <div class="form-row">
211
212
  <label for="node-input-adaptiveLightingOptionsCustomTemperatureAdjustment"><i class="fa fa-thermometer-quarter"></i> Custom Temperature Adjustment</label>
212
- <input type="number" id="node-input-adaptiveLightingOptionsCustomTemperatureAdjustment">
213
+ <input type="number" id="node-input-adaptiveLightingOptionsCustomTemperatureAdjustment" placeholder="0">
213
214
  </div>
214
215
  </div>
215
216
 
@@ -498,12 +499,10 @@
498
499
  value: false,
499
500
  },
500
501
  adaptiveLightingOptionsMode: {
501
- value: 1,
502
- validate: RED.validators.number()
502
+ validate: RED.validators.number(true)
503
503
  },
504
504
  adaptiveLightingOptionsCustomTemperatureAdjustment: {
505
- value: 0,
506
- validate: RED.validators.number()
505
+ validate: RED.validators.number(true)
507
506
  },
508
507
  },
509
508
  inputs: 1,
@@ -203,13 +203,14 @@
203
203
  <div class="form-row">
204
204
  <label for="node-input-adaptiveLightingOptionsMode"><i class="fa fa-hand-o-up"></i> Mode</label>
205
205
  <select id="node-input-adaptiveLightingOptionsMode">
206
- <option value="1" selected="selected">AUTOMATIC</option>
206
+ <option value="" selected hidden disabled>AUTOMATIC</option>
207
+ <option value="1">AUTOMATIC</option>
207
208
  <option value="2" disabled>MANUAL</option>
208
209
  </select>
209
210
  </div>
210
211
  <div class="form-row">
211
212
  <label for="node-input-adaptiveLightingOptionsCustomTemperatureAdjustment"><i class="fa fa-thermometer-quarter"></i> Custom Temperature Adjustment</label>
212
- <input type="number" id="node-input-adaptiveLightingOptionsCustomTemperatureAdjustment">
213
+ <input type="number" id="node-input-adaptiveLightingOptionsCustomTemperatureAdjustment" placeholder="0">
213
214
  </div>
214
215
  </div>
215
216
 
@@ -508,12 +509,10 @@ if (nrchkbExperimental) {
508
509
  value: false,
509
510
  },
510
511
  adaptiveLightingOptionsMode: {
511
- value: 1,
512
- validate: RED.validators.number()
512
+ validate: RED.validators.number(true)
513
513
  },
514
514
  adaptiveLightingOptionsCustomTemperatureAdjustment: {
515
- value: 0,
516
- validate: RED.validators.number()
515
+ validate: RED.validators.number(true)
517
516
  },
518
517
  },
519
518
  inputs: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-homekit-bridged",
3
- "version": "1.7.0-dev.4",
3
+ "version": "1.7.0-dev.5",
4
4
  "description": "Node-RED nodes to simulate Apple HomeKit devices.",
5
5
  "main": "build/nodes/nrchkb.js",
6
6
  "scripts": {