Skip to content

Commit

Permalink
chore: release v1.9.7
Browse files Browse the repository at this point in the history
* (arteck) corr configure for some devices
  • Loading branch information
arteck committed Jan 5, 2024
1 parent 5e4b6d6 commit 0b1d2c3
Show file tree
Hide file tree
Showing 6 changed files with 536 additions and 1,125 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ You can thank the authors by these links:
-----------------------------------------------------------------------------------------------------

## Changelog
### 1.9.7 (2024-01-05)
* (arteck) corr configure for some devices

### 1.9.6 (2024-01-01)
* (arteck) corr ikea bug
* (crckmc) trv child lock works
Expand Down
28 changes: 14 additions & 14 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
{
"common": {
"name": "zigbee",
"version": "1.9.6",
"version": "1.9.7",
"news": {
"1.9.7": {
"en": "corr configure for some devices",
"de": "corr konfigurieren für einige geräte",
"ru": "для некоторых устройств",
"pt": "corr configurar para alguns dispositivos",
"nl": "corr instellen voor sommige apparaten",
"fr": "corr configure pour certains appareils",
"it": "corr configurare per alcuni dispositivi",
"es": "configuración de corr para algunos dispositivos",
"pl": "configure corr dla niektórych urządzeń",
"uk": "налаштовувати корр для деяких пристроїв",
"zh-cn": "一些设备的corr配置"
},
"1.9.6": {
"en": "corr ikea bug \ntrv child lock works",
"de": "corr ikea bug\nkinderschlösser funktioniert",
Expand Down Expand Up @@ -80,19 +93,6 @@
"pl": "kor Type Error: Cannot przeczytał właściwości nieokreślone (czytać stan)",
"uk": "тип кореня Помилка: Не можна прочитати властивості невизнаного (прочитаного стану)",
"zh-cn": "类型 Error: Cannot宣读了未界定的(国名)财产"
},
"1.9.0": {
"en": "up to new zhc\nupdate dependency",
"de": "bis zum neuen zhc\naktualisierung abhängigkeit",
"ru": "до нового жк\nобновление зависимости",
"pt": "até novo zhc\ndependência de atualização",
"nl": "\nvertaling:",
"fr": "jusqu'au nouveau zhc\nmettre à jour la dépendance",
"it": "fino a nuovo zhc\ndipendenza da aggiornamento",
"es": "hasta nuevo zhc\nactualización de la dependencia",
"pl": "do nowego żc\nzależności",
"uk": "до нового жк\nоновлення залежності",
"zh-cn": "新的忠诚\n更新"
}
},
"titleLang": {
Expand Down
7 changes: 2 additions & 5 deletions lib/zbDeviceConfigure.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,13 +112,10 @@ class DeviceConfigure extends BaseExtension {

try {
await this.doConfigure(device, mappedDevice);
// this.configuring.delete(device.ieeeAddr);
// this.configuring.delete(device.ieeeAddr);
} catch (error) {
this.sendError(error);
this.warn(
`DeviceConfigure failed ${device.ieeeAddr} ${device.modelID}, ` +
`attempt ${this.attempts[device.ieeeAddr] + 1} (${error.stack})`,
);
this.warn(`DeviceConfigure failed ${device.ieeeAddr} ${device.modelID} attempt ${this.attempts[device.ieeeAddr] + 1} (${error.stack})`);
this.attempts[device.ieeeAddr]++;
}
}
Expand Down
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,8 @@ class Zigbee extends utils.Adapter {

this.processConverters(converters, devId, model, mappedModel, message, meta)
.catch((error) => {
// 'Error: Expected one of: 0, 1, got: 'undefined''
if (cluster !== '64529') {
// 'Error: Expected one of: 0, 1, got: 'undefined''
if (cluster !== '64529') {
this.log.error(`Error while processing converters DEVICE_ID: '${devId}' cluster '${cluster}' type '${type}'`);
}
});
Expand Down
Loading

0 comments on commit 0b1d2c3

Please sign in to comment.