Binding to msRelativeHumidity (#12877)

* Binding to new clusters

Binding to new clusters. This is necessary for new EFEKTA devices.

* Update bind.ts

* Fix tests

Co-authored-by: nurikk <ainur@yojee.com>
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
This commit is contained in:
Andrew Lamchenko
2022-07-01 18:02:34 +03:00
committed by GitHub
parent 81892ef70d
commit bab764e2be
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ const legacyApi = settings.get().advanced.legacy_api;
const legacyTopicRegex = new RegExp(`^${settings.get().mqtt.base_topic}/bridge/(bind|unbind)/.+$`);
const topicRegex = new RegExp(`^${settings.get().mqtt.base_topic}/bridge/request/device/(bind|unbind)`);
const clusterCandidates = ['genScenes', 'genOnOff', 'genLevelCtrl', 'lightingColorCtrl', 'closuresWindowCovering',
'hvacThermostat', 'msTemperatureMeasurement'];
'hvacThermostat', 'msTemperatureMeasurement', 'msRelativeHumidity'];
// See zigbee-herdsman-converters
const defaultBindGroup = {type: 'group_number', ID: 901, name: 'default_bind_group'};
+1
View File
@@ -28,6 +28,7 @@ const clusters = {
'closuresWindowCovering': 258,
'hvacThermostat': 513,
'msTemperatureMeasurement': 1026,
'msRelativeHumidity': 1029
}
class Endpoint {