Skip to content

Commit 96ff11b

Browse files
committed
fix: drop ConfiguredName HIG warning
1 parent 7cefcf2 commit 96ff11b

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to `@homebridge/hap-nodejs` will be documented in this file. This project tries to adhere to [Semantic Versioning](http://semver.org/).
44

5+
## v2.1.5 (Pending Release)
6+
7+
### Changes
8+
9+
- fix: drop `ConfiguredName` HIG warning
10+
511
## v2.1.4 (2026-05-04)
612

713
### Changes

src/lib/Characteristic.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ import {
270270
numericUpperBound,
271271
} from "./util/request-util";
272272
import { BASE_UUID, toShortForm } from "./util/uuid";
273-
import { checkName } from "./util/checkName";
274273

275274
const debug = createDebug("HAP-NodeJS:Characteristic");
276275

@@ -2803,10 +2802,6 @@ export class Characteristic extends EventEmitter {
28032802
value = value.substring(0, maxLength);
28042803
}
28052804

2806-
if (value.length > 0 && this.UUID === Characteristic.ConfiguredName.UUID) {
2807-
checkName(this.displayName, "ConfiguredName", value);
2808-
}
2809-
28102805
return value;
28112806
}
28122807
case Formats.DATA:

0 commit comments

Comments
 (0)