zigbee-herdsman-converters 19.29.0 → 19.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/converters/toZigbee.d.ts.map +1 -1
- package/converters/toZigbee.js +12 -2
- package/converters/toZigbee.js.map +1 -1
- package/devices/bosch.d.ts.map +1 -1
- package/devices/bosch.js +39 -8
- package/devices/bosch.js.map +1 -1
- package/devices/ikea.d.ts.map +1 -1
- package/devices/ikea.js +10 -9
- package/devices/ikea.js.map +1 -1
- package/devices/innr.d.ts.map +1 -1
- package/devices/innr.js +11 -0
- package/devices/innr.js.map +1 -1
- package/devices/schneider_electric.d.ts.map +1 -1
- package/devices/schneider_electric.js +18 -0
- package/devices/schneider_electric.js.map +1 -1
- package/devices/sonoff.d.ts.map +1 -1
- package/devices/sonoff.js +19 -24
- package/devices/sonoff.js.map +1 -1
- package/devices/tuya.js +2 -2
- package/devices/tuya.js.map +1 -1
- package/lib/exposes.d.ts +1 -0
- package/lib/exposes.d.ts.map +1 -1
- package/lib/exposes.js +1 -0
- package/lib/exposes.js.map +1 -1
- package/lib/lumi.d.ts.map +1 -1
- package/lib/lumi.js +0 -4
- package/lib/lumi.js.map +1 -1
- package/lib/modernExtend.d.ts +2 -0
- package/lib/modernExtend.d.ts.map +1 -1
- package/lib/modernExtend.js +10 -1
- package/lib/modernExtend.js.map +1 -1
- package/lib/types.d.ts +6 -0
- package/lib/types.d.ts.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [19.31.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.30.0...v19.31.0) (2024-04-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* OTA support for Innr SP 240,242 and 244 ([#7464](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7464)) ([f8b2e55](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f8b2e55bf685ab0316acecb1ef3147ad6d0f71a2))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Fix `Value '5' is not allowed` for TuYa TS0601_fan_5_levels_and_light_switch https://github.com/Koenkk/zigbee2mqtt/issues/21787 ([c7123ab](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c7123ab65cc52441997f5a40f1fb26b5408dc819))
|
|
14
|
+
|
|
15
|
+
## [19.30.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.29.0...v19.30.0) (2024-04-28)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* Add toggle for `cover_position_tilt_disable_report` ([#7461](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7461)) ([a811aca](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a811acaa94a8343b7247b3a925dbdc3c09c0f1dc))
|
|
21
|
+
* **add:** CCT5010-0003 ([#7454](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7454)) ([df05493](https://github.com/Koenkk/zigbee-herdsman-converters/commit/df054935493d6dbce1e28f61e68f6e14fd6e2073))
|
|
22
|
+
* **add:** OLS 210 https://github.com/Koenkk/zigbee2mqtt/issues/22291 ([401cbe2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/401cbe22f25b9e600ea57407cbcc64c1f0327768))
|
|
23
|
+
* Expose `broadcast_alarm` for Bosch BSD-2 ([#7427](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7427)) ([bba8c0b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/bba8c0b2ff6e87e38560cb7f7e4992dabc538f1b))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* Fix illuminance not reporting for Bosch RFDL-ZB-MS @Ltek https://github.com/Koenkk/zigbee2mqtt/issues/22294 ([652188d](https://github.com/Koenkk/zigbee-herdsman-converters/commit/652188dbc3fd7f01a9d1a941e03097c6ef76243f))
|
|
29
|
+
* Fix invalid `contact` for MCCGQ01LM ([#7452](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7452)) ([d9640a4](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d9640a4d39fcc924d97e2a1034105c75452ff8c2))
|
|
30
|
+
* Fix TuYa TS0601_illuminance_temperature_humidity_sensor_2 exposes units https://github.com/Koenkk/zigbee2mqtt/issues/22332 ([f01f126](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f01f1263ed3f91481723bcaf240c7dc2f9d265f2))
|
|
31
|
+
* **ignore:** update dependencies ([#7458](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7458)) ([c254062](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c254062beaa4f1d23ad2402c4092e5ce588f5099))
|
|
32
|
+
* **ignore:** update dependencies ([#7462](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7462)) ([bc8d371](https://github.com/Koenkk/zigbee-herdsman-converters/commit/bc8d37191ed76cba8d4223db8121a1ac6a8ceb4d))
|
|
33
|
+
* IKEA VINDSTYRKA uses different DataType for measuredValue ([#7450](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7450)) ([6d328d1](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6d328d12dc6f82bf58b188e308112dbff140ca1c))
|
|
34
|
+
* Improve position reporting for Bosch BMCT-SLZ ([#7438](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7438)) ([badb0e5](https://github.com/Koenkk/zigbee-herdsman-converters/commit/badb0e5a58c11f3b4932ae54f90044f3d856fe7d))
|
|
35
|
+
|
|
3
36
|
## [19.29.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.28.0...v19.29.0) (2024-04-27)
|
|
4
37
|
|
|
5
38
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toZigbee.d.ts","sourceRoot":"","sources":["../src/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
cover_position_tilt: {
|
|
569
569
|
key: ['position', 'tilt'],
|
|
570
|
-
options: [
|
|
570
|
+
options: [
|
|
571
|
+
exposes.options.invert_cover(),
|
|
572
|
+
exposes.options.cover_position_tilt_disable_report(),
|
|
573
|
+
],
|
|
571
574
|
convertSet: async (entity, key, value, meta) => {
|
|
572
575
|
utils.assertNumber(value, key);
|
|
573
576
|
const isPosition = (key === 'position');
|
|
574
577
|
const invert = !(utils.getMetaValue(entity, meta.mapped, 'coverInverted', 'allEqual', false) ?
|
|
575
578
|
!meta.options.invert_cover : meta.options.invert_cover);
|
|
579
|
+
const disableReport = !(utils.getMetaValue(entity, meta.mapped, 'coverPositionTiltDisableReport', 'allEqual', false) ?
|
|
580
|
+
!meta.options.cover_position_tilt_disable_report : meta.options.cover_position_tilt_disable_report);
|
|
576
581
|
const position = invert ? 100 - value : value;
|
|
577
582
|
// Zigbee officially expects 'open' to be 0 and 'closed' to be 100 whereas
|
|
578
583
|
// HomeAssistant etc. work the other way round.
|
|
579
584
|
// For zigbee-herdsman-converters: open = 100, close = 0
|
|
580
585
|
await entity.command('closuresWindowCovering', isPosition ? 'goToLiftPercentage' : 'goToTiltPercentage', isPosition ? { percentageliftvalue: position } : { percentagetiltvalue: position }, utils.getOptions(meta.mapped, entity));
|
|
581
|
-
|
|
586
|
+
if (disableReport) {
|
|
587
|
+
return;
|
|
588
|
+
}
|
|
589
|
+
else {
|
|
590
|
+
return { state: { [isPosition ? 'position' : 'tilt']: value } };
|
|
591
|
+
}
|
|
582
592
|
},
|
|
583
593
|
convertGet: async (entity, key, meta) => {
|
|
584
594
|
const isPosition = (key === 'position');
|