diff --git a/ble/ble-shelly-blu.shelly.js b/ble/ble-shelly-blu.shelly.js index 5dcb712..1f3d3c8 100644 --- a/ble/ble-shelly-blu.shelly.js +++ b/ble/ble-shelly-blu.shelly.js @@ -264,7 +264,7 @@ function init() { const BLEConfig = Shelly.getComponentConfig("ble"); //exit if the BLE isn't enabled - if (!BLEConfig.enable) { + if (BLEConfig.enable === false) { console.log( "Error: The Bluetooth is not enabled, please enable it from settings" );