From 1f8b66511deb3fa661d3a336dbdd0016830f634f Mon Sep 17 00:00:00 2001 From: root Date: Fri, 11 Mar 2016 20:51:40 +0100 Subject: [PATCH] Workaround for no off motion sensor: Wenzhou tkd slim sensor 3/4 in 1 sensor --- homeassistant/components/binary_sensor/zwave.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homeassistant/components/binary_sensor/zwave.py b/homeassistant/components/binary_sensor/zwave.py index bfcafcf54f7..ac846cb8df2 100644 --- a/homeassistant/components/binary_sensor/zwave.py +++ b/homeassistant/components/binary_sensor/zwave.py @@ -23,11 +23,14 @@ DEPENDENCIES = [] PHILIO = 0x013c PHILIO_SLIM_SENSOR = 0x0002 PHILIO_SLIM_SENSOR_MOTION = (PHILIO, PHILIO_SLIM_SENSOR, 0) +WENZHOU = 0x0118 +WENZHOU_SLIM_SENSOR_MOTION = (WENZHOU, PHILIO_SLIM_SENSOR, 0) WORKAROUND_NO_OFF_EVENT = 'trigger_no_off_event' DEVICE_MAPPINGS = { PHILIO_SLIM_SENSOR_MOTION: WORKAROUND_NO_OFF_EVENT, + WENZHOU_SLIM_SENSOR_MOTION: WORKAROUND_NO_OFF_EVENT, }