Discover Home Assistant temperature sensor for QBKG12LM. https://github.com/Koenkk/zigbee-herdsman-converters/issues/1020

This commit is contained in:
Koen Kanters 2020-02-26 22:02:04 +01:00
parent 0036176098
commit 5c0bb33c1b

View File

@ -605,7 +605,10 @@ const mapping = {
'SL 110 W': [cfg.light_brightness], 'SL 110 W': [cfg.light_brightness],
'AA68199': [cfg.light_brightness_colortemp], 'AA68199': [cfg.light_brightness_colortemp],
'QBKG11LM': [cfg.switch, cfg.sensor_power, cfg.sensor_click], 'QBKG11LM': [cfg.switch, cfg.sensor_power, cfg.sensor_click],
'QBKG12LM': [switchWithPostfix('left'), switchWithPostfix('right'), cfg.sensor_power, cfg.sensor_click], 'QBKG12LM': [
switchWithPostfix('left'), switchWithPostfix('right'), cfg.sensor_power, cfg.sensor_click,
cfg.sensor_temperature,
],
'K2RGBW01': [cfg.light_brightness_colortemp_colorxy], 'K2RGBW01': [cfg.light_brightness_colortemp_colorxy],
'9290011370': [cfg.light_brightness], '9290011370': [cfg.light_brightness],
'DNCKATSW001': [cfg.switch], 'DNCKATSW001': [cfg.switch],