@switchbot/homebridge-switchbot
Advanced tools
Comparing version 0.0.2-beta.3 to 0.0.2-beta.4
@@ -29,3 +29,3 @@ "use strict"; | ||
const bleMac = colon.join(':'); //returns 1A:23:B4:56:78:9A; | ||
this.device.bleMac = bleMac; | ||
this.device.bleMac = bleMac.toLowerCase(); | ||
if (this.platform.debugMode) { | ||
@@ -32,0 +32,0 @@ this.platform.log.warn(this.device.bleMac); |
@@ -23,3 +23,3 @@ "use strict"; | ||
const bleMac = colon.join(':'); //returns 1A:23:B4:56:78:9A; | ||
this.device.bleMac = bleMac; | ||
this.device.bleMac = bleMac.toLowerCase(); | ||
if (this.platform.debugMode) { | ||
@@ -26,0 +26,0 @@ this.platform.log.warn(this.device.bleMac); |
@@ -29,3 +29,3 @@ "use strict"; | ||
const bleMac = colon.join(':'); //returns 1A:23:B4:56:78:9A; | ||
this.device.bleMac = bleMac; | ||
this.device.bleMac = bleMac.toLowerCase(); | ||
if (this.platform.debugMode) { | ||
@@ -32,0 +32,0 @@ this.platform.log.warn(this.device.bleMac); |
{ | ||
"displayName": "Homebridge SwitchBot", | ||
"name": "@switchbot/homebridge-switchbot", | ||
"version": "0.0.2-beta.3", | ||
"version": "0.0.2-beta.4", | ||
"description": "The [Homebridge](https://homebridge.io) SwitchBot plugin allows you to access your [SwitchBot](https://www.switch-bot.com) device(s) from HomeKit.", | ||
@@ -6,0 +6,0 @@ "author": "SwitchBot <support@wondertechlabs.com> (https://github.com/SwitchBot)", |
@@ -44,3 +44,3 @@ import { Service, PlatformAccessory, CharacteristicValue, HAPStatus } from 'homebridge'; | ||
const bleMac = colon!.join(':'); //returns 1A:23:B4:56:78:9A; | ||
this.device.bleMac = bleMac; | ||
this.device.bleMac = bleMac.toLowerCase(); | ||
if (this.platform.debugMode) { | ||
@@ -47,0 +47,0 @@ this.platform.log.warn(this.device.bleMac); |
@@ -52,3 +52,3 @@ /* eslint-disable @typescript-eslint/no-var-requires */ | ||
const bleMac = colon!.join(':'); //returns 1A:23:B4:56:78:9A; | ||
this.device.bleMac = bleMac; | ||
this.device.bleMac = bleMac.toLowerCase(); | ||
if (this.platform.debugMode) { | ||
@@ -55,0 +55,0 @@ this.platform.log.warn(this.device.bleMac); |
@@ -49,3 +49,3 @@ import { Service, PlatformAccessory, Units, CharacteristicValue, HAPStatus } from 'homebridge'; | ||
const bleMac = colon!.join(':'); //returns 1A:23:B4:56:78:9A; | ||
this.device.bleMac = bleMac; | ||
this.device.bleMac = bleMac.toLowerCase(); | ||
if (this.platform.debugMode) { | ||
@@ -52,0 +52,0 @@ this.platform.log.warn(this.device.bleMac); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
918867