homebridge-tasmota-control 0.19.2-beta.0 → 0.19.2

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": "0.19.2-beta.0",
4
+ "version": "0.19.2",
5
5
  "description": "Homebridge plugin to control Tasmota flashed devices.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -267,8 +267,8 @@ class TasmotaDevice extends EventEmitter {
267
267
  const vaneHorizontalDirection = miElHvac.SwingH ?? 'Unknown';
268
268
  const prohibit = miElHvac.Prohibit ?? 'Unknown';
269
269
  const airDirection = miElHvac.AirDirection ?? 'Unknown';
270
- const preRunStage = miElHvac.PrerunStage === 'on' ?? false;
271
- const compressor = miElHvac.Compressor === 'on' ?? false;
270
+ const preRunStage = miElHvac.PrerunStage ?? 'Unknown';
271
+ const compressor = miElHvac.Compressor ?? 'Unknown';
272
272
  const compressorFrequency = miElHvac.CompressorFrequency ?? 0;
273
273
  const operationPower = miElHvac.OperationPower ?? 0;
274
274
  const operationEnergy = miElHvac.OperationEnergy ?? 0;
@@ -634,6 +634,9 @@ class TasmotaDevice extends EventEmitter {
634
634
  const info10 = power && vaneHorizontalDirection === 'isee' && airDirection !== 'Unknown' ? this.emit('message', `Air direction: ${CONSTANTS.AirConditioner.AirDirection[airDirection]}`) : false;
635
635
  const info11 = power ? this.emit('message', `Prohibit: ${CONSTANTS.AirConditioner.Prohibit[prohibit]}`) : false;
636
636
  const info12 = power ? this.emit('message', `Temperature display unit: ${temperatureUnit}`) : false;
637
+ const info13 = power ? this.emit('message', `Compressor: ${compressor.toUpperCase()}`) : false;
638
+ const info14 = power ? this.emit('message', `OperationPower: ${operationPower}W`) : false;
639
+ const info15 = power ? this.emit('message', `OperationEnergy: ${operationEnergy}kWh`) : false;
637
640
  };
638
641
  break;
639
642
  case false: