From ade6123ede943857505f15bd6bff46c1a4876695 Mon Sep 17 00:00:00 2001 From: Koen Kanters Date: Wed, 24 Jun 2020 23:28:33 +0200 Subject: [PATCH] Home Assistant discover illuminance_lux sensor for RTCGQ11LM. #3805 --- lib/extension/homeassistant.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index b1399af6..dce3babe 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -750,7 +750,7 @@ const mapping = { 'WSDCGQ01LM': [cfg.sensor_temperature, cfg.sensor_humidity, cfg.sensor_battery], 'WSDCGQ11LM': [cfg.sensor_temperature, cfg.sensor_humidity, cfg.sensor_pressure, cfg.sensor_battery], 'RTCGQ01LM': [cfg.binary_sensor_occupancy, cfg.sensor_battery], - 'RTCGQ11LM': [cfg.binary_sensor_occupancy, cfg.sensor_illuminance, cfg.sensor_battery], + 'RTCGQ11LM': [cfg.binary_sensor_occupancy, cfg.sensor_illuminance, cfg.sensor_illuminance_lux, cfg.sensor_battery], 'MCCGQ01LM': [cfg.binary_sensor_contact, cfg.sensor_battery], 'MCCGQ11LM': [cfg.binary_sensor_contact, cfg.sensor_battery], 'SJCGQ11LM': [cfg.binary_sensor_water_leak, cfg.sensor_battery],