homebridge-navilink 1.0.3 → 1.0.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
+ ## [1.0.4](https://github.com/tbaur/homebridge-navilink/compare/v1.0.3...v1.0.4) (2026-10-18)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * rename cached accessories through updateDisplayName ([#32](https://github.com/tbaur/homebridge-navilink/issues/32)) ([c03764b](https://github.com/tbaur/homebridge-navilink/commit/c03764ba55e2e0fa794ec0607a47d6355e719234))
9
+
3
10
  ## [1.0.3](https://github.com/tbaur/homebridge-navilink/compare/v1.0.2...v1.0.3) (2026-09-20)
4
11
 
5
12
 
package/README.md CHANGED
@@ -1,11 +1,12 @@
1
1
  # homebridge-navilink
2
2
 
3
- ![Tests](https://github.com/tbaur/homebridge-navilink/actions/workflows/test.yml/badge.svg)
4
- ![npm version](https://img.shields.io/npm/v/homebridge-navilink?style=flat-square)
5
- ![npm downloads](https://img.shields.io/npm/dt/homebridge-navilink?label=downloads&style=flat-square)
6
- ![Node.js](https://img.shields.io/badge/node-22%20%7C%7C%2024%20%7C%7C%2026-green)
7
- ![Homebridge](https://img.shields.io/badge/homebridge-2.x-purple)
8
- ![License](https://img.shields.io/badge/license-Apache--2.0-blue)
3
+ [![Tests](https://github.com/tbaur/homebridge-navilink/actions/workflows/test.yml/badge.svg)](https://github.com/tbaur/homebridge-navilink/actions/workflows/test.yml)
4
+ [![npm version](https://img.shields.io/npm/v/homebridge-navilink?style=flat-square)](https://www.npmjs.com/package/homebridge-navilink)
5
+ [![npm downloads](https://img.shields.io/npm/dt/homebridge-navilink?label=downloads&style=flat-square)](https://www.npmjs.com/package/homebridge-navilink)
6
+ [![Node.js](https://img.shields.io/badge/node-22%20%7C%7C%2024%20%7C%7C%2026-green)](https://nodejs.org)
7
+ [![verified-by-homebridge](https://img.shields.io/badge/homebridge-verified-blueviolet?color=%23491F59&style=flat)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)
8
+ [![Homebridge](https://img.shields.io/badge/homebridge-2.x-purple)](https://homebridge.io)
9
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue)](LICENSE)
9
10
 
10
11
  **Navien combi boilers and water heaters in Apple HomeKit.** Hot water and space-heating thermostats, recirculation, faults and temperature probes, with changes arriving as they happen rather than on a polling loop. Verified against an NCB-240E (firmware 4352).
11
12
 
package/dist/platform.js CHANGED
@@ -236,8 +236,11 @@ class NaviLinkPlatform {
236
236
  }
237
237
  if (accessory.displayName !== resolved.name) {
238
238
  this.log.info(`${(0, utils_1.forLog)(accessory.displayName)} is now named ${(0, utils_1.forLog)(resolved.name)}`);
239
+ // Assigning `displayName` only changes the wrapper. Homebridge publishes
240
+ // and restores the HAP accessory's name, so a cached tile keeps the old
241
+ // one until `updateDisplayName` writes both.
242
+ accessory.updateDisplayName(resolved.name);
239
243
  }
240
- accessory.displayName = resolved.name;
241
244
  const init = {
242
245
  host: this,
243
246
  accessory,
@@ -353,7 +353,7 @@ See [SECURITY.md](../SECURITY.md) for the detail, including what a raw capture c
353
353
  - **Strict TypeScript,** with `noUncheckedIndexedAccess` and type-aware lint; warnings are failures
354
354
  - **Tested:** a behavioural Jest suite against fixtures recorded from real hardware, gated at 80% of statements, with a guard that fails the build if a MAC address, email or token that is not the documented example appears in `tests/fixtures/`
355
355
  - A CI step that rejects credential-shaped strings in the published docs, fixtures, schema and issue templates. Unit tests that hold fake JWTs are outside that scan on purpose
356
- - `npm audit` on the runtime tree on every PR; OSV-Scanner on the full tree, weekly and on every PR
356
+ - `npm audit` on the runtime tree on every PR; OSV-Scanner on the full tree, on every PR, on every push to `main`, and weekly
357
357
  - **No analytics:** nothing is sent anywhere except Navien's own service
358
358
  - **One runtime dependency:** Homebridge's own UI helper. The MQTT client is a small in-repo codec, not a `mqtt.js` dependency tree
359
359
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-navilink",
3
3
  "displayName": "Homebridge NaviLink",
4
- "version": "1.0.3",
4
+ "version": "1.0.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",
@@ -41,7 +41,8 @@
41
41
  "homepage": "https://github.com/tbaur/homebridge-navilink#readme",
42
42
  "overrides": {
43
43
  "js-yaml": "^4.3.2",
44
- "brace-expansion": "^5.0.12"
44
+ "brace-expansion": "^5.0.12",
45
+ "handlebars": "^4.7.10"
45
46
  },
46
47
  "dependencies": {
47
48
  "@homebridge/plugin-ui-utils": "2.2.6"
@@ -55,7 +56,7 @@
55
56
  "globals": "^17.12.0",
56
57
  "homebridge": "^2.4.0",
57
58
  "jest": "^30.5.2",
58
- "ts-jest": "29.4.12",
59
+ "ts-jest": "29.4.14",
59
60
  "typescript": "^6.0.3"
60
61
  },
61
62
  "engines": {