Skip to content

Commit

Permalink
Display node: remove channel 3 for HM-Dis-WM55 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbyquaker committed Jul 23, 2018
1 parent 6f3a2c2 commit 0c536e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions nodes/ccu-connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,7 @@ module.exports = function (RED) {
Object.keys(devices).forEach(addr => {
if (
(addr.endsWith(':3') && devices[addr].PARENT_TYPE.match(/HM-Dis-EP-WM55/)) ||
(
(addr.endsWith(':1') || addr.endsWith(':2') || addr.endsWith(':3')) &&
devices[addr].PARENT_TYPE.match(/HM-Dis-WM55/)
)
((addr.endsWith(':1') || addr.endsWith(':2')) && devices[addr].PARENT_TYPE.match(/HM-Dis-WM55/))
) {
obj[addr] = {
name: config.channelNames[addr],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-ccu",
"version": "1.1.5",
"version": "1.1.6",
"description": "Node-RED Nodes for the Homematic CCU",
"repository": "https://github.com/hobbyquaker/node-red-contrib-ccu",
"keywords": [
Expand Down

0 comments on commit 0c536e8

Please sign in to comment.