homebridge-navilink 0.1.3 → 0.1.4

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.4](https://github.com/tbaur/homebridge-navilink/compare/v0.1.3...v0.1.4) (2026-09-20)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * align the diagnostics slider and keep undiscovered hardware off ([#10](https://github.com/tbaur/homebridge-navilink/issues/10)) ([298a06c](https://github.com/tbaur/homebridge-navilink/commit/298a06cdd2f0835b829dd3f2b8b02595f28f9224))
9
+
3
10
  ## [0.1.3](https://github.com/tbaur/homebridge-navilink/compare/v0.1.2...v0.1.3) (2026-09-20)
4
11
 
5
12
 
@@ -28,6 +28,11 @@
28
28
  .nl-toolbar { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
29
29
  .nl-toolbar .spacer { flex: 1 1 auto; }
30
30
  .nl-guard { border-left: 3px solid rgba(255, 193, 7, .8); padding-left: .7rem; margin-top: .6rem; }
31
+ .nl-slider { display: block; }
32
+ .nl-slider-head { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
33
+ .nl-slider-head label { font-size: .8rem; margin: 0; }
34
+ .nl-slider-head span { font-size: .8rem; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
35
+ .nl-slider input[type="range"] { display: block; width: 100%; margin: .35rem 0 0; }
31
36
  </style>
32
37
 
33
38
  <div class="nl-intro">
@@ -123,13 +128,12 @@
123
128
  </div>
124
129
  </div>
125
130
 
126
- <div class="form-group mt-3 mb-2">
127
- <label for="diagnostics-interval" style="font-size: .8rem;">
128
- Diagnostics interval (seconds)
129
- <span id="diagnostics-interval-value" class="float-right">0</span>
130
- </label>
131
- <input type="range" class="custom-range" id="diagnostics-interval"
132
- min="0" max="3600" step="1" value="0" />
131
+ <div class="form-group nl-slider mt-3 mb-2">
132
+ <div class="nl-slider-head">
133
+ <label for="diagnostics-interval">Diagnostics interval (seconds)</label>
134
+ <span id="diagnostics-interval-value">0</span>
135
+ </div>
136
+ <input type="range" id="diagnostics-interval" min="0" max="3600" step="1" value="0" />
133
137
  <div class="nl-meta">
134
138
  A health line in the Homebridge log. 0 is off. Nothing is exposed in HomeKit.
135
139
  </div>
@@ -140,10 +140,17 @@
140
140
  family: '',
141
141
  model: '',
142
142
  firmware: '',
143
- // Nothing is known about an appliance loaded from configuration until
144
- // a sign-in says otherwise, so every accessory stays available. The
145
- // alternative is greying out a control the user already chose.
146
- capabilities: { dhw: true, heating: true, recirculation: true, outdoorSensor: true },
143
+ // Until a sign-in describes the appliance, only offer hardware the
144
+ // saved configuration already has. Recirculation and an outdoor probe
145
+ // are fitted or they are not; turning them on here without asking the
146
+ // gateway would invent a tile that cannot work. Sign in again after
147
+ // new hardware is commissioned.
148
+ capabilities: {
149
+ dhw: device.dhw !== false,
150
+ heating: device.heating === true,
151
+ recirculation: device.recirculation === true,
152
+ outdoorSensor: device.outdoorSensor === true,
153
+ },
147
154
  known: false,
148
155
  online: undefined,
149
156
  missing: false,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-navilink",
3
3
  "displayName": "Homebridge NaviLink",
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "description": "Homebridge plugin for Navien combi boilers and water heaters through the North American NaviLink cloud: hot water and space-heating thermostats, power, recirculation, fault and temperature accessories. Verified on an NCB-240E (firmware 4352)",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",