From 5952a2a12a631fd41332d734739815ed994631be Mon Sep 17 00:00:00 2001 From: presslab-us Date: Wed, 1 Apr 2020 15:42:48 -0400 Subject: [PATCH] Fix definition of Nyce NCZ-3011-HA (#3267) --- lib/extension/homeassistant.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/extension/homeassistant.js b/lib/extension/homeassistant.js index e778ea97e..a5b30d26b 100644 --- a/lib/extension/homeassistant.js +++ b/lib/extension/homeassistant.js @@ -1059,9 +1059,7 @@ const mapping = { switchWithPostfix('bottom_left'), switchWithPostfix('bottom_right'), switchWithPostfix('center'), switchWithPostfix('top_left'), switchWithPostfix('top_right'), ], - 'NCZ-3011-HA': [ - cfg.binary_sensor_occupancy, cfg.sensor_humidity, cfg.sensor_temperature, - ], + 'NCZ-3011-HA': [cfg.binary_sensor_contact, cfg.sensor_battery], 'MEAZON_BIZY_PLUG': [cfg.sensor_power, cfg.switch, cfg.sensor_temperature], 'MEAZON_DINRAIL': [cfg.sensor_power, cfg.switch, cfg.sensor_temperature], 'HS1CA-M': [cfg.binary_sensor_carbon_monoxide, cfg.binary_sensor_battery_low],