@switchbot/homebridge-switchbot 4.1.4-beta.1 → 4.1.4-beta.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/dist/device/blindtilt.js.map +1 -1
- package/dist/device/bot.js.map +1 -1
- package/dist/device/ceilinglight.js.map +1 -1
- package/dist/device/colorbulb.js.map +1 -1
- package/dist/device/curtain.js.map +1 -1
- package/dist/device/fan.js.map +1 -1
- package/dist/device/humidifier.js.map +1 -1
- package/dist/device/lightstrip.js.map +1 -1
- package/dist/device/plug.js.map +1 -1
- package/dist/device/robotvacuumcleaner.js.map +1 -1
- package/package.json +1 -1
- package/src/device/blindtilt.ts +1 -1
- package/src/device/bot.ts +2 -2
- package/src/device/ceilinglight.ts +2 -2
- package/src/device/colorbulb.ts +3 -3
- package/src/device/curtain.ts +1 -1
- package/src/device/fan.ts +1 -1
- package/src/device/humidifier.ts +1 -1
- package/src/device/lightstrip.ts +1 -1
- package/src/device/plug.ts +1 -1
- package/src/device/robotvacuumcleaner.ts +2 -2
|
@@ -273,7 +273,7 @@ export class RobotVacuumCleaner extends deviceBase {
|
|
|
273
273
|
// Start to monitor advertisement packets
|
|
274
274
|
(async () => {
|
|
275
275
|
// Start to monitor advertisement packets
|
|
276
|
-
const serviceData = await this.monitorAdvertisementPackets(switchBotBLE) as
|
|
276
|
+
const serviceData = await this.monitorAdvertisementPackets(switchBotBLE) as robotVacuumCleanerServiceData
|
|
277
277
|
// Update HomeKit
|
|
278
278
|
if (serviceData.model === SwitchBotBLEModel.Unknown && serviceData.modelName === SwitchBotBLEModelName.Unknown) {
|
|
279
279
|
this.serviceData = serviceData
|
|
@@ -392,7 +392,7 @@ export class RobotVacuumCleaner extends deviceBase {
|
|
|
392
392
|
switchBotBLE
|
|
393
393
|
.discover({ model: this.device.bleModel, id: this.device.bleMac })
|
|
394
394
|
.then(async (device_list: SwitchbotDevice[]) => {
|
|
395
|
-
const deviceList = device_list as
|
|
395
|
+
const deviceList = device_list as SwitchbotDevice[]
|
|
396
396
|
this.infoLog(`On: ${this.LightBulb.On}`)
|
|
397
397
|
return await this.retryBLE({
|
|
398
398
|
max: this.maxRetryBLE(),
|