mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-13 23:28:55 +00:00
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:
@@ -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'};
|
||||
|
||||
@@ -28,6 +28,7 @@ const clusters = {
|
||||
'closuresWindowCovering': 258,
|
||||
'hvacThermostat': 513,
|
||||
'msTemperatureMeasurement': 1026,
|
||||
'msRelativeHumidity': 1029
|
||||
}
|
||||
|
||||
class Endpoint {
|
||||
|
||||
Reference in New Issue
Block a user