diff --git a/plugins/mqtt/package-lock.json b/plugins/mqtt/package-lock.json index aa68aba26c..7e461eaeba 100644 --- a/plugins/mqtt/package-lock.json +++ b/plugins/mqtt/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/mqtt", - "version": "0.0.74", + "version": "0.0.75", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/mqtt", - "version": "0.0.74", + "version": "0.0.75", "dependencies": { "@types/node": "^16.6.1", "aedes": "^0.46.1", diff --git a/plugins/mqtt/package.json b/plugins/mqtt/package.json index 579b0c749a..a49188359c 100644 --- a/plugins/mqtt/package.json +++ b/plugins/mqtt/package.json @@ -41,5 +41,5 @@ "@scrypted/common": "file:../../common", "@types/nunjucks": "^3.2.0" }, - "version": "0.0.74" + "version": "0.0.75" } diff --git a/plugins/mqtt/src/autodiscovery.ts b/plugins/mqtt/src/autodiscovery.ts index 517a545ec3..f83526b28d 100644 --- a/plugins/mqtt/src/autodiscovery.ts +++ b/plugins/mqtt/src/autodiscovery.ts @@ -385,6 +385,7 @@ addBinarySensor(ScryptedInterface.BinarySensor, ScryptedInterfaceProperty.binary addBinarySensor(ScryptedInterface.OccupancySensor, ScryptedInterfaceProperty.occupied); addBinarySensor(ScryptedInterface.FloodSensor, ScryptedInterfaceProperty.flooded); addBinarySensor(ScryptedInterface.AudioSensor, ScryptedInterfaceProperty.audioDetected); +addBinarySensor(ScryptedInterface.Online, ScryptedInterfaceProperty.online); autoDiscoveryMap.set(ScryptedInterface.Thermometer, { component: 'sensor',