From 11545a34bb2f68fd7c0d2065076bb383db936053 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Sat, 6 Nov 2021 13:56:03 -0700 Subject: [PATCH] myq: add garagedoor type --- plugins/myq/package-lock.json | 4 ++-- plugins/myq/package.json | 2 +- plugins/myq/src/main.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/myq/package-lock.json b/plugins/myq/package-lock.json index e38ce7927..bbbe65a5b 100644 --- a/plugins/myq/package-lock.json +++ b/plugins/myq/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/myq", - "version": "0.1.39", + "version": "0.1.40", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/myq", - "version": "0.1.39", + "version": "0.1.40", "license": "Apache", "dependencies": { "@hjdhjd/myq": "^6.0.4", diff --git a/plugins/myq/package.json b/plugins/myq/package.json index e313aa09b..514410ffc 100644 --- a/plugins/myq/package.json +++ b/plugins/myq/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/myq", - "version": "0.1.39", + "version": "0.1.40", "description": "A MyQ Garage plugin for Scrypted", "author": "Scrypted", "license": "Apache", diff --git a/plugins/myq/src/main.ts b/plugins/myq/src/main.ts index b12dc5770..a363d3b77 100644 --- a/plugins/myq/src/main.ts +++ b/plugins/myq/src/main.ts @@ -8,7 +8,7 @@ import throttle from 'lodash/throttle'; const { deviceManager } = sdk; function isValidGarageDoor(device_type: string) { - return device_type === 'wifigaragedooropener' || device_type === 'virtualgaragedooropener'; + return device_type === 'wifigaragedooropener' || device_type === 'virtualgaragedooropener' || device_type === 'garagedooropener'; } class GarageController extends ScryptedDeviceBase implements DeviceProvider, Settings {