homebridge-tasmota-control 1.0.3 → 1.0.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Tasmota Control",
3
3
  "name": "homebridge-tasmota-control",
4
- "version": "1.0.3",
4
+ "version": "1.0.5",
5
5
  "description": "Homebridge plugin to control Tasmota flashed devices.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -28,7 +28,7 @@
28
28
  ],
29
29
  "engines": {
30
30
  "homebridge": "^1.6.0 || ^2.0.0-beta.0",
31
- "node": "^18.20.4 || ^20.15.1 || ^22.7.0"
31
+ "node": "^18.20.4 || ^20.15.1 || ^22.7.0 || ^23.2.0"
32
32
  },
33
33
  "dependencies": {
34
34
  "axios": "^1.7.7"
@@ -1150,7 +1150,8 @@ class TasmotaDevice extends EventEmitter {
1150
1150
  .setCharacteristic(Characteristic.Manufacturer, 'Tasmota')
1151
1151
  .setCharacteristic(Characteristic.Model, this.modelName ?? 'Model Name')
1152
1152
  .setCharacteristic(Characteristic.SerialNumber, this.serialNumber ?? 'Serial Number')
1153
- .setCharacteristic(Characteristic.FirmwareRevision, this.firmwareRevision.replace(/[a-zA-Z]/g, '') ?? '0');
1153
+ .setCharacteristic(Characteristic.FirmwareRevision, this.firmwareRevision.replace(/[a-zA-Z]/g, '') ?? '0')
1154
+ .setCharacteristic(Characteristic.ConfiguredName, accessoryName);
1154
1155
 
1155
1156
  //Prepare services
1156
1157
  const debug2 = this.enableDebugMode ? this.emit('debug', `Prepare Services`) : false;