diff --git a/README.md b/README.md
index b4e77e69e..f95061315 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,7 @@
+
diff --git a/src/lib/Characteristic.ts b/src/lib/Characteristic.ts
index 351b07a62..117446a93 100644
--- a/src/lib/Characteristic.ts
+++ b/src/lib/Characteristic.ts
@@ -2941,12 +2941,12 @@ export class Characteristic extends EventEmitter {
if (this.props.validValueRanges && this.props.validValueRanges.length === 2) {
if (value < this.props.validValueRanges[0]) {
- this.characteristicWarning(`characteristic was supplied illegal value: number ${value} not contained in valid value range of \
- ${this.props.validValueRanges}, supplying illegal values will throw errors in the future`, warningType);
+ this.characteristicWarning(`characteristic was supplied illegal value: number ${value} not contained in valid value range of `
+ + `${this.props.validValueRanges}, supplying illegal values will throw errors in the future`, warningType);
value = this.props.validValueRanges[0];
} else if (value > this.props.validValueRanges[1]) {
- this.characteristicWarning(`characteristic was supplied illegal value: number ${value} not contained in valid value range of \
- ${this.props.validValueRanges}, supplying illegal values will throw errors in the future`, warningType);
+ this.characteristicWarning(`characteristic was supplied illegal value: number ${value} not contained in valid value range of `
+ + `${this.props.validValueRanges}, supplying illegal values will throw errors in the future`, warningType);
value = this.props.validValueRanges[1];
}
}
@@ -2966,8 +2966,8 @@ export class Characteristic extends EventEmitter {
// mirrors the case value = null at the beginning
if (value.length <= 1 && (this.UUID === Characteristic.Model.UUID || this.UUID === Characteristic.SerialNumber.UUID)) {
- this.characteristicWarning(`[${this.displayName}] characteristic must have a length of more than 1 character otherwise \
- HomeKit will reject this accessory, ignoring new value`, warningType);
+ this.characteristicWarning(`[${this.displayName}] characteristic must have a length of more than 1 character otherwise`
+ + ` HomeKit will reject this accessory, ignoring new value ${warningType}`);
return this.value; // just return the current value
}
diff --git a/src/lib/util/eventedhttp.ts b/src/lib/util/eventedhttp.ts
index 9e008c12a..6af55c316 100644
--- a/src/lib/util/eventedhttp.ts
+++ b/src/lib/util/eventedhttp.ts
@@ -883,8 +883,8 @@ export class HAPConnection extends EventEmitter {
}
}
- console.log(`WARNING couldn't map socket coming from remote address ${socket.remoteAddress}:${socket.remotePort} \
- at local address ${socket.localAddress} to a interface!`);
+ console.log(`WARNING couldn't map socket coming from remote address ${socket.remoteAddress}:${socket.remotePort} `
+ + `at local address ${socket.localAddress} to a interface!`);
return Object.keys(interfaces)[1]; // just use the first interface after the loopback interface as fallback
}
diff --git a/src/lib/util/tlv.ts b/src/lib/util/tlv.ts
index 0a3ac0985..1510ea687 100644
--- a/src/lib/util/tlv.ts
+++ b/src/lib/util/tlv.ts
@@ -162,8 +162,8 @@ export function decodeWithLists(buffer: Buffer): Record