Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-deconz

Package Overview
Dependencies
Maintainers
1
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-deconz - npm Package Compare versions

Comparing version 0.10.2 to 0.10.3

23

nodes/get.js

@@ -23,3 +23,2 @@ module.exports = function(RED) {

if (typeof(config.device) == 'string' && config.device.length) {

@@ -33,3 +32,23 @@ node.status({}); //clean

if (deviceMeta) {
if ((/group_/g).test(node.config.device)) {
var groupid = ((node.config.device).split('group_').join(''));
var group = node.server.getGroup(groupid);
node.meta = group
if (group !== false) {
node.send({
payload:node.meta.state['any_on'],
meta:group,
});
} else {
node.status({
fill: "red",
shape: "dot",
text: 'no device'
});
node.cleanTimer = setTimeout(function(){
node.status({}); //clean
}, 3000);
}
} else if (deviceMeta) {
node.server.devices[node.id] = deviceMeta.uniqueid;

@@ -36,0 +55,0 @@

2

package.json

@@ -41,3 +41,3 @@ {

},
"version": "0.10.2"
"version": "0.10.3"
}

Sorry, the diff of this file is not supported yet

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