homebridge-tasmota-control 1.4.0-beta.5 → 1.4.0-beta.6
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/tasmotadevice.js +1 -1
package/package.json
CHANGED
package/src/tasmotadevice.js
CHANGED
|
@@ -2271,7 +2271,7 @@ class TasmotaDevice extends EventEmitter {
|
|
|
2271
2271
|
})
|
|
2272
2272
|
.onSet(async (value) => {
|
|
2273
2273
|
try {
|
|
2274
|
-
const speed = `${ApiCommands.
|
|
2274
|
+
const speed = `${ApiCommands.FanSpeed}${value}`;
|
|
2275
2275
|
await this.axiosInstance(speed);
|
|
2276
2276
|
const logInfo = this.disableLogInfo ? false : this.emit('info', `${friendlyName}, set speed: ${value}`);
|
|
2277
2277
|
} catch (error) {
|