homebridge-syntex-magichome
Advanced tools
Comparing version 1.0.0-b40 to 1.0.0-b41
{ | ||
"name": "homebridge-syntex-magichome", | ||
"version": "1.0.0-b40", | ||
"version": "1.0.0-b41", | ||
"description": "Homebridge Plugin for MagicHome LED Strips with preset scenes", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -34,12 +34,12 @@ const LightBulb = require('./accessories/lightBulb'); | ||
response.write('<h1>Hallo Welt!!!</h1>'); | ||
response.write(JSON.stringify(params)); | ||
response.end(); | ||
}); | ||
server.addPage('/test2', (response, params) => { | ||
if(params.id) | ||
{ | ||
response.write('Deine ID lautet: ' + params.id); | ||
if(Array.isArray(params.id)) | ||
{ | ||
response.write('Mehrere IDs!'); | ||
} | ||
else | ||
{ | ||
response.write('Deine ID lautet: ' + params.id); | ||
} | ||
} | ||
@@ -46,0 +46,0 @@ else |
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
1015
106264