homebridge-tasmota-control 1.6.15-beta.21 → 1.6.15-beta.22
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/mielhvac.js +1 -1
package/package.json
CHANGED
package/src/mielhvac.js
CHANGED
|
@@ -554,7 +554,7 @@ class MiElHvac extends EventEmitter {
|
|
|
554
554
|
state = power && airDirection === airDirMap[mode];
|
|
555
555
|
} else if (prohibitMap[mode]) {
|
|
556
556
|
state = power && prohibit === prohibitMap[mode];
|
|
557
|
-
} else if (
|
|
557
|
+
} else if (functionsStateMap[mode]) {
|
|
558
558
|
state = power && functionsMap[mode] === functionsStateMap[mode];
|
|
559
559
|
} else {
|
|
560
560
|
this.emit('warn', `Unknown button mode: ${mode} detected`);
|