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

node-red-contrib-knx-ultimate

Package Overview
Dependencies
Maintainers
0
Versions
461
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-knx-ultimate - npm Package Compare versions

Comparing version

to
3.0.0-beta2

nodes/knxUltimateHuedevice_software_update.html

8

nodes/hue-config.js

@@ -347,2 +347,10 @@ /* eslint-disable camelcase */

}
if (_rtype === 'device_software_update') {
const Room = node.hueAllRooms.find((room) => room.children.find((child) => child.rid === resource.owner.rid))
const linkedDevName = node.hueAllResources.find((dev) => dev.type === 'device' && dev.services.find((serv) => serv.rid === resource.id)).metadata.name || ''
retArray.push({
name: `Software status: ${linkedDevName}${Room !== undefined ? `, room ${Room.metadata.name}` : ''}`,
id: resource.id,
});
}
} catch (error) {

@@ -349,0 +357,0 @@ retArray.push({

1

nodes/knxUltimateAlerter.js

@@ -212,2 +212,3 @@

}
msg.knx = { dpt: '1.001' };

@@ -214,0 +215,0 @@ node.handleSend(msg);

5

package.json

@@ -6,3 +6,3 @@ {

},
"version": "3.0.0-beta1",
"version": "3.0.0-beta2",
"description": "Control your KNX intallation via Node-Red! A bunch of KNX nodes, with integrated Philips HUE control and ETS group address importer. Easy to use and highly configurable.",

@@ -51,3 +51,4 @@ "dependencies": {

"knxUltimateContactSensor": "/nodes/knxUltimateHueContactSensor.js",
"knxUltimateHATranslator": "/nodes/knxUltimateHATranslator.js"
"knxUltimateHATranslator": "/nodes/knxUltimateHATranslator.js",
"knxUltimateHuedevice_software_update": "/nodes/knxUltimateHuedevice_software_update.js"
}

@@ -54,0 +55,0 @@ },

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet