mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-29 07:08:56 +00:00
Improve support for MCT-340 E, MCT-340 SMA, XHS2-SE (#2156)
* Add temperature and battery level reporting for Visonic MCT-340 E contact sensor. * Improve HA sensors for MCT-340 SMA and XHS2-SE.
This commit is contained in:
committed by
Koen Kanters
parent
f219e5df9f
commit
ff9e6cdacc
@@ -777,7 +777,8 @@ const mapping = {
|
||||
cfg.binary_sensor_carbon_monoxide, cfg.binary_sensor_battery_low,
|
||||
cfg.sensor_battery,
|
||||
],
|
||||
'MCT-340 E': [cfg.binary_sensor_contact],
|
||||
'MCT-340 E': [cfg.binary_sensor_contact, cfg.sensor_temperature, cfg.sensor_battery],
|
||||
'MCT-340 SMA': [cfg.binary_sensor_contact, cfg.sensor_temperature, cfg.sensor_battery],
|
||||
'D1542': [cfg.light_brightness_colortemp],
|
||||
'ZGRC-KEY-013': [cfg.sensor_click],
|
||||
'ZigUP': [cfg.switch],
|
||||
@@ -916,12 +917,11 @@ const mapping = {
|
||||
'T1829': [cfg.light_brightness_colortemp],
|
||||
'929002240401': [cfg.switch],
|
||||
'HGZB-20-UK': [cfg.switch],
|
||||
'MCT-340 SMA': [cfg.binary_sensor_contact, cfg.binary_sensor_battery_low],
|
||||
'PTAPT-WH02': [cfg.switch],
|
||||
'929001953301': [cfg.light_brightness_colortemp],
|
||||
'DIYRuZ_magnet': [cfg.binary_sensor_contact, cfg.sensor_battery],
|
||||
'ZLED-TUNE9': [cfg.light_brightness_colortemp],
|
||||
'XHS2-SE': [cfg.binary_sensor_contact, cfg.binary_sensor_battery_low],
|
||||
'XHS2-SE': [cfg.binary_sensor_contact, cfg.sensor_temperature, cfg.sensor_battery],
|
||||
'4000116784070': [cfg.switch],
|
||||
'9290020399': [cfg.light_brightness],
|
||||
'929002241201': [cfg.light_brightness],
|
||||
|
||||
Reference in New Issue
Block a user