New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

thing-it-device-wtec

Package Overview
Dependencies
Maintainers
3
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thing-it-device-wtec - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

default-units/foil.js

17

default-units/fixture.js

@@ -8,7 +8,3 @@ module.exports = {

deviceTypes: ["wtec/smartengine"],
services: [{
id: "toggle",
label: "Toggle",
parameters: []
}],
services: [],
configuration: [{

@@ -137,13 +133,2 @@ label: "Fixture serial number",

Fixture.prototype.toggle = function (params) {
let deferred = q.defer();
deferred.resolve();
return deferred.promise;
};
Fixture.prototype.getState = function () {

@@ -150,0 +135,0 @@ return this.state;

@@ -16,2 +16,44 @@ module.exports = {

defaultValue: 0
}, {
label: "Display Occupancy",
id: "displayOccupancy",
type: {
id: "boolean"
},
defaultValue: true
}, {
label: "Display Power",
id: "displayPower",
type: {
id: "boolean"
},
defaultValue: true
}, {
label: "Display Ceiling Temperature",
id: "displayCeilingTemperature",
type: {
id: "boolean"
},
defaultValue: true
}, {
label: "Display Room Temperature",
id: "displayRoomTemperature",
type: {
id: "boolean"
},
defaultValue: true
}, {
label: "Display Illuminance",
id: "displayIlluminance",
type: {
id: "boolean"
},
defaultValue: true
}, {
label: "Display Brightness",
id: "displayBrightness",
type: {
id: "boolean"
},
defaultValue: true
}],

@@ -18,0 +60,0 @@ state: [{

@@ -22,26 +22,2 @@ module.exports = {

state: [{
id: "power",
label: "Power",
type: {
id: "decimal"
}
}, {
id: "ceilingTemperature",
label: "Ceiling Temperature",
type: {
id: "decimal"
}
}, {
id: "roomTemperature",
label: "Room Temperature",
type: {
id: "decimal"
}
}, {
id: "illuminance",
label: "Illuminance",
type: {
id: "decimal"
}
}, {
id: "brightness",

@@ -53,9 +29,2 @@ label: "Brightness",

}, {
//time since the epoch in seconds
id: "motion",
label: "Motion",
type: {
id: "integer"
}
}, {
id: "currentScene",

@@ -62,0 +31,0 @@ label: "Current Scene",

@@ -8,37 +8,34 @@ module.exports = {

"actors": [{
id: "location-01",
label: "Location 1",
type: "location",
logLevel: 'error',
"configuration": {
"locationId": 122
}
}, {
id: "fixture-01",
label: "Fixture 1",
type: "fixture",
logLevel: 'error',
"configuration": {
"serialNumber": "CSJ00000000000V020130300576"
}
},
{
id: "location-information-01",
label: "Location information 1",
type: "locationInformation",
logLevel: 'error',
"configuration": {
"locationId": 122
}
},
{
id: "location-light-control-01",
label: "Location light control 1",
type: "locationLightControl",
logLevel: 'error',
"configuration": {
"locationId": 122
}
id: "location-01",
label: "Location 1",
type: "location",
logLevel: 'error',
"configuration": {
"locationId": 122
}
],
}, {
id: "fixture-01",
label: "Fixture 1",
type: "fixture",
logLevel: 'error',
"configuration": {
"serialNumber": "CSJ00000000000V020130300576"
}
}, {
id: "location-information-01",
label: "Location information 1",
type: "locationInformation",
logLevel: 'error',
"configuration": {
"locationId": 122
}
}, {
id: "location-light-control-01",
label: "Location light control 1",
type: "locationLightControl",
logLevel: 'error',
"configuration": {
"locationId": 122
}
}],
"sensors": [],

@@ -45,0 +42,0 @@ "services": [],

{
"name": "thing-it-device-wtec",
"version": "2.0.1",
"version": "2.0.2",
"description": "Thing-IT device wtec",

@@ -5,0 +5,0 @@ "main": "smartengine.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc