diff --git a/unificontroller/README.md b/unificontroller/README.md index 7d842ae..dbbf27a 100644 --- a/unificontroller/README.md +++ b/unificontroller/README.md @@ -15,6 +15,8 @@ This HPM app would not exist without the work by [tomw](https://community.hubita - [UniFi Protect Controller](https://raw.githubusercontent.com/tomwpublic/hubitat_unifiProtect/main/unifiProtectController) - Required, manages communication for UniFi Protect devices. Written by [tomw](https://github.com/tomwpublic/hubitat_unifiProtect/) and only imported to this package. Any updates or licensing are on his end, this HPM app just references it! -- [UniFi Protect Camera](https://raw.githubusercontent.com/tomwpublic/hubitat_unifiProtect/main/unifiProtectCamera) - Required by UniFi Protect Controller, used for the camera handling. Written by [tomw](https://github.com/tomwpublic/hubitat_unifiProtect/) and only imported to this package. Any updates or licensing are on his end, this HPM app just references it! + - [UniFi Protect Camera](https://raw.githubusercontent.com/tomwpublic/hubitat_unifiProtect/main/unifiProtectCamera) - Required by UniFi Protect Controller, used for the camera handling. Written by [tomw](https://github.com/tomwpublic/hubitat_unifiProtect/) and only imported to this package. Any updates or licensing are on his end, this HPM app just references it! -- [UniFi Protect Doorbell](https://raw.githubusercontent.com/tomwpublic/hubitat_unifiProtect/main/unifiProtectCamera) - Required by UniFi Protect Controller, used for the doorbell action handling. Written by [tomw](https://github.com/tomwpublic/hubitat_unifiProtect/) and only imported to this package. Any updates or licensing are on his end, this HPM app just references it! + - [UniFi Protect Doorbell](https://raw.githubusercontent.com/tomwpublic/hubitat_unifiProtect/main/unifiProtectCamera) - Required by UniFi Protect Controller, used for the doorbell action handling. Written by [tomw](https://github.com/tomwpublic/hubitat_unifiProtect/) and only imported to this package. Any updates or licensing are on his end, this HPM app just references it! + + - [UniFi Protect Light](https://raw.githubusercontent.com/tomwpublic/hubitat_unifiProtect/main/unifiProtectCamera) - Required by UniFi Protect Controller, used for light control. Written by [tomw](https://github.com/tomwpublic/hubitat_unifiProtect/) and only imported to this package. Any updates or licensing are on his end, this HPM app just references it! \ No newline at end of file diff --git a/unificontroller/app/UniFiController_App.groovy b/unificontroller/app/UniFiController_App.groovy index 70d5fe0..3cb5d8a 100644 --- a/unificontroller/app/UniFiController_App.groovy +++ b/unificontroller/app/UniFiController_App.groovy @@ -152,7 +152,7 @@ def dashboardHelp() { section('

Snapshots

') { if (getControllerChildren(state.currentDeviceId).findAll { it.typeName == DEVICE_TYPES["camera"].driver }.size() == 0) { - paragraph("There are no cameras devices on this UniFi controller.") + paragraph("There are no camera devices on this UniFi controller.") } else { paragraph( @@ -406,5 +406,6 @@ def logTrace(msg) { @Field static def DEVICE_TYPES = [ "UNIFI_API_DNI": [name: "UniFi Protect Controller", driver: "UniFi Protect Controller"], "camera": [name: "UniFi Protect Camera", driver: "UniFi Protect Camera"], - "doorbell": [name: "UniFi Protect Doorbell", driver: "UniFi Protect Doorbell"] + "doorbell": [name: "UniFi Protect Doorbell", driver: "UniFi Protect Doorbell"], + "light": [name: "UniFi Protect Light", driver: "UniFi Protect Light"] ] \ No newline at end of file diff --git a/unificontroller/packageManifest.json b/unificontroller/packageManifest.json index 4410930..20684fb 100644 --- a/unificontroller/packageManifest.json +++ b/unificontroller/packageManifest.json @@ -25,6 +25,7 @@ "name": "UniFi Protect Controller", "namespace": "tomw", "location": "https://raw.githubusercontent.com/tomwpublic/hubitat_unifiProtect/main/unifiProtectController", + "licenseFile": "https://raw.githubusercontent.com/tomwpublic/hubitat_unifiProtect/main/LICENSE", "required": true }, { @@ -32,6 +33,7 @@ "name": "UniFi Protect Camera", "namespace": "tomw", "location": "https://raw.githubusercontent.com/tomwpublic/hubitat_unifiProtect/main/unifiProtectCamera", + "licenseFile": "https://raw.githubusercontent.com/tomwpublic/hubitat_unifiProtect/main/LICENSE", "required": true }, { @@ -39,6 +41,15 @@ "name": "UniFi Protect Doorbell", "namespace": "tomw", "location": "https://raw.githubusercontent.com/tomwpublic/hubitat_unifiProtect/main/unifiProtectDoorbell", + "licenseFile": "https://raw.githubusercontent.com/tomwpublic/hubitat_unifiProtect/main/LICENSE", + "required": true + }, + { + "id": "edfa53bc-fe44-431a-aa75-1eda1620b80c", + "name": "UniFi Protect Light", + "namespace": "tomw", + "location": "https://raw.githubusercontent.com/tomwpublic/hubitat_unifiProtect/main/unifiProtectLight", + "licenseFile": "https://raw.githubusercontent.com/tomwpublic/hubitat_unifiProtect/main/LICENSE", "required": true } ]