homebridge-syntex-dynamic-platform
Advanced tools
Comparing version 1.0.1-b1 to 1.0.1-b2
@@ -20,2 +20,9 @@ module.exports = class BaseService | ||
this.options = {}; | ||
if(serviceConfig.requests != null) | ||
{ | ||
this.options.requests = serviceConfig.requests; | ||
} | ||
var service = homebridgeAccessory.getServiceById(serviceType, serviceConfig.subtype); | ||
@@ -22,0 +29,0 @@ |
@@ -8,2 +8,3 @@ const AccessoryInformationService = require('./info'); | ||
const ContactService = require('./contact'); | ||
const LightService = require('./light'); | ||
@@ -146,2 +147,6 @@ let PlatformAccessory; | ||
} | ||
else if(type == 'light') | ||
{ | ||
service = new LightService(this.homebridgeAccessory, this.deviceConfig, serviceConfig, this.manager); | ||
} | ||
@@ -148,0 +153,0 @@ if(service != null) |
@@ -9,2 +9,3 @@ const UniversalAccessory = require('./accessories/universal'); | ||
const ContactService = require('./accessories/contact'); | ||
const LightService = require('./accessories/light'); | ||
@@ -136,2 +137,2 @@ var pluginID = 'homebridge-syntex-dynamic-platform'; | ||
module.exports = { DynamicPlatform, UniversalAccessory, AccessoryInformationService, OutletService, SwitchService, LightBulbService, DimmedBulbService, ColoredBulbService, ContactService }; | ||
module.exports = { DynamicPlatform, UniversalAccessory, AccessoryInformationService, OutletService, SwitchService, LightBulbService, DimmedBulbService, ColoredBulbService, ContactService, LightService }; |
{ | ||
"name": "homebridge-syntex-dynamic-platform", | ||
"version": "1.0.1-b1", | ||
"version": "1.0.1-b2", | ||
"description": "A Dynamic Platform Accessory", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
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
31864
15
939