homebridge-tasmota-control 1.6.15-beta.22 → 1.6.15-beta.24
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 +1 -1
- package/src/constants.js +2 -2
- package/src/mielhvac.js +7 -1
package/package.json
CHANGED
package/src/constants.js
CHANGED
|
@@ -95,8 +95,8 @@ export const MiElHVAC = {
|
|
|
95
95
|
"SetNightMode": {
|
|
96
96
|
"nightmode": "HVACSetNightMode%20on"
|
|
97
97
|
},
|
|
98
|
-
"
|
|
99
|
-
"
|
|
98
|
+
"SetRemoteTemp": "HVACSetRemoteTemp%20",
|
|
99
|
+
"SetRemoteTempClearTime": "HVACSetRemoteTempClearTime%20",
|
|
100
100
|
"OperationMode": [
|
|
101
101
|
"AUTO",
|
|
102
102
|
"HEAT",
|
package/src/mielhvac.js
CHANGED
|
@@ -226,6 +226,9 @@ class MiElHvac extends EventEmitter {
|
|
|
226
226
|
const vaneHorizontalDirection = miElHvac.SwingH ?? 'Unknown';
|
|
227
227
|
const prohibit = miElHvac.Prohibit ?? 'Unknown';
|
|
228
228
|
const purify = miElHvac.Purify ?? 'Unknown';
|
|
229
|
+
const econoCool = miElHvac.EonoCool ?? 'Unknown';
|
|
230
|
+
const powerFull = miElHvac.PowerFull ?? 'Unknown';
|
|
231
|
+
const nightMode = miElHvac.NightMode ?? 'Unknown';
|
|
229
232
|
const airDirection = miElHvac.AirDirection ?? 'Unknown';
|
|
230
233
|
const compressor = miElHvac.Compressor ?? 'Unknown';
|
|
231
234
|
const compressorFrequency = miElHvac.CompressorFrequency ?? 0;
|
|
@@ -266,6 +269,9 @@ class MiElHvac extends EventEmitter {
|
|
|
266
269
|
vaneHorizontalDirection: vaneHorizontalDirection,
|
|
267
270
|
prohibit: prohibit,
|
|
268
271
|
purify: purify,
|
|
272
|
+
econoCool: econoCool,
|
|
273
|
+
powerFull: powerFull,
|
|
274
|
+
nightMode: nightMode,
|
|
269
275
|
airDirection: airDirection,
|
|
270
276
|
swingMode: swingMode,
|
|
271
277
|
compressor: compressor,
|
|
@@ -710,7 +716,7 @@ class MiElHvac extends EventEmitter {
|
|
|
710
716
|
const debug = this.enableDebugMode ? this.emit('debug', `Remote temp: ${JSON.stringify(remoteTemp, null, 2)}`) : false;
|
|
711
717
|
|
|
712
718
|
//set remote temp
|
|
713
|
-
const temp = `${MiElHVAC.
|
|
719
|
+
const temp = `${MiElHVAC.SetRemoteTemp}${remoteTemp}`
|
|
714
720
|
await this.axiosInstance(temp);
|
|
715
721
|
|
|
716
722
|
return true
|