mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 10:28:33 -07:00
support aqara s2 lock pro (#1859)
This commit is contained in:
parent
22bed9a347
commit
4d4a63f913
@ -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],
|
||||
|
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user