Skip to content

Commit

Permalink
fix(ignore): update zigbee-herdsman-converters to 19.75.0 (#23565)
Browse files Browse the repository at this point in the history
* fix(ignore): update zigbee-herdsman-converters to 19.75.0

* fix

---------

Co-authored-by: Koenkk <[email protected]>
  • Loading branch information
Koenkk and Koenkk committed Aug 8, 2024
1 parent 7ca456d commit aeba93d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion lib/extension/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ export default class Publish extends Extension {

if (!usedConverters.hasOwnProperty(endpointOrGroupID)) usedConverters[endpointOrGroupID] = [];
/* istanbul ignore next */
const converter = converters.find((c) => c.key.includes(key) && (!c.endpoint || c.endpoint == endpointName));
// Match any key if the toZigbee converter defines no key.
const converter = converters.find((c) => (!c.key || c.key.includes(key)) && (!c.endpoint || c.endpoint == endpointName));

if (parsedTopic.type === 'set' && usedConverters[endpointOrGroupID].includes(converter)) {
// Use a converter for set only once
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"winston-transport": "^4.7.1",
"ws": "^8.18.0",
"zigbee-herdsman": "0.55.5",
"zigbee-herdsman-converters": "19.74.0",
"zigbee-herdsman-converters": "19.75.0",
"zigbee2mqtt-frontend": "0.7.4"
},
"devDependencies": {
Expand Down

0 comments on commit aeba93d

Please sign in to comment.