homebridge-tasmota-control 1.5.1-beta.24 → 1.5.1-beta.25

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
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.6.0] - (01.06.2025)
9
+
10
+ ## Changes
11
+
12
+ - added support for Energy Sensors with custom characteristics in EVE ir Controler aopp.
13
+ - redme updated
14
+ - cleanup
15
+
8
16
  ## [1.5.0] - (31.05.2025)
9
17
 
10
18
  ## Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Tasmota Control",
3
3
  "name": "homebridge-tasmota-control",
4
- "version": "1.5.1-beta.24",
4
+ "version": "1.5.1-beta.25",
5
5
  "description": "Homebridge plugin to control Tasmota flashed devices.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
package/src/sensors.js CHANGED
@@ -426,7 +426,7 @@ class Sensors extends EventEmitter {
426
426
  if (sensor.name === 'ENERGY') {
427
427
  const debug4 = this.enableDebugMode ? this.emit('debug', `Prepare Power And Energy Service`) : false;
428
428
  this.sensorEnergyServices = [];
429
- const serviceName = this.sensorsNamePrefix ? `${accessoryName} ${sensorName} Power And Energy` : `${sensorName} Power And Energy`;
429
+ const serviceName = this.sensorsNamePrefix ? `${accessoryName} ${sensorName}` : `${sensorName} Sensor`;
430
430
  const energyService = accessory.addService(Service.PowerAndEnergyService, serviceName, `Energy Sensor ${i}`);
431
431
  energyService.setCharacteristic(Characteristic.ConfiguredName, serviceName);
432
432
  if (sensor.power) {