mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-27 21:20:03 +00:00
support aqara s2 lock pro (#1859)
This commit is contained in:
@@ -822,6 +822,9 @@ const mapping = {
|
||||
'ZNMS12LM': [
|
||||
configurations.sensor_action, configurations.binary_sensor_lock, configurations.binary_sensor_lock_reverse,
|
||||
],
|
||||
'ZNMS13LM': [
|
||||
configurations.sensor_action, configurations.binary_sensor_lock, configurations.binary_sensor_lock_reverse,
|
||||
],
|
||||
'12050': [configurations.switch, configurations.sensor_power],
|
||||
'ROB_200-004-0': [configurations.light_brightness],
|
||||
'RH3040': [configurations.sensor_battery, configurations.binary_sensor_occupancy],
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ function flatten(arr) {
|
||||
}
|
||||
|
||||
const forceEndDevice = flatten(
|
||||
['QBKG03LM', 'QBKG04LM']
|
||||
['QBKG03LM', 'QBKG04LM', 'ZNMS13LM']
|
||||
.map((model) => zigbeeShepherdConverters.devices.find((d) => d.model === model))
|
||||
.map((mappedModel) => mappedModel.zigbeeModel));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user