diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index 6afc22497..55b0bfd70 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -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],